_PELDR_InitCompleted
#include <vxdldr.h>
LRESULT CDECL PELDR_GetModuleUsage(HPEMODULE hModule);
Decommits memory in INIT sections. This function should be used when the caller has completed the module specific initialization sequence and the INIT section is no longer required.
- Returns the module load count if successful, otherwise returns 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.