_PELDR_GetModuleUsage
#include <vxdldr.h>
LRESULT CDECL PELDR_GetModuleUsage(HPEMODULE hModule);
Gets the usage count of the given module. Uses C calling conventions.
- Returns the usage count or PELDR_ERR_INVALIDHANDLE if the specified handle is not valid.
- hModule
- A handle to a module. This parameter must be a valid handle returned by _PELDR_LoadModule or _PELDR_GetModuleHandle.