OEMCertifyModuleInit (Windows CE 5.0)
This function enables the OS loader to notify the OEM that a new module is being loaded. This notification allows the OEM to decide if the module should be verified for safety using the OEMCertifyModule function.
BOOL OEMCertifyModuleInit(LPTSTRlpModuleName );
[out] Pointer to a buffer allocated by the OS that contains the module name, not including the path.
If lpModuleName is NULL, no module name is available for the new module being loaded.
The module name is the name passed into either the CreateProcess or LoadLibrary function. For example, calling LoadLibrary(MYDLL) causes MYDLL to be passed to the OEM. Likewise, calling CreateProcess(\Windows\Myexe.exe**)** causes \Windows\Myexe.exe to be passed to the OEM.
TRUE indicates that the module should be loaded, and then validated using the OEMCertifyModule function.
FALSE indicates that the module should not be loaded.
Only modules that are not in ROM are passed to the OEM. All ROM modules are assumed to be trusted by the OEM.
OS Versions: Windows CE 2.10 and later.
Header: Developer defined.
Link Library: Nk.lib.
Send Feedback on this topic to the authors