#include <revolution/os.h>
BOOL OSUnlink (OSModuleInfo* oldModule);
|
Pointer to the module to unlink. |
Returns TRUE if the function completes normally.
Unlinks the specified module.
Note:The unlinked modules are moved and can be relinked with 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:The OSLink function cannot reuse the unlinked module after the module is linked using the OSLinkFixed function.
Introduction to Relocatable Module System
OSLink
03/01/2006 Initial version.