BOOL FreeModule(hinst) | |||||
HINSTANCE hinst; | /* handle of loaded module | */ |
The FreeModule function decrements (decreases by one) the reference count of the loaded module. When the reference count reaches zero, the memory occupied by the module is freed.
hinst
Identifies the loaded module.
The return value is zero if the reference count is decremented to zero and the module's memory is freed. Otherwise, the return value is nonzero.
The reference count for a module is incremented (increased by one) each time an application calls the LoadModule function for the module.