#include <revolution/os.h> BOOL OSUnlink(OSModuleInfo* oldModule);
| oldModule | Pointer to the module to be unlinked. |
|---|
Returns TRUE for normal termination.
Unlinks the specified module.
Note: If the module is linked using OSLink, the unlinked module can be moved and linked again using OSLink. However, because the module data section is not returned to the original image, the module code should initialize variables explicitly if the memory copy of the unlinked module is reused.
Note: If the module is linked with OSLinkFixed, the unlinked module can no longer be reused by OSLink.
Relocatable Module System, OSLink
2006/03/01 Initial version.
CONFIDENTIAL