int GetModuleUsage(hinst) | ||||
HINSTANCE hinst; | /* handle of module, */ |
The GetModuleUsage function retrieves the reference count of a specified module.
hinst
Identifies the module or an instance of the module.
The return value specifies the reference count of the module if the function is successful.
Windows increments (increases by one) a module's reference count each time an application calls the LoadModule function. The count is decremented (decreased by one) when an application calls the FreeModule function.