OEMCertifyModuleInit (Windows Embedded CE 6.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( 
  LPTSTR lpModuleName 


[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.

For more information about other methods of passing the module name to the LoadLibrary or CreateProcess function, see LoadLibrary and CreateProcess.

TRUE indicates that the module should be loaded, and then validated using the OEMCertifyModule function.

FALSE indicates that the module should not be loaded.

To implement this function, assign the address of this function to the pOEMLoadInit global variable in the OEMInit function of the OAL.

Only modules that are not in ROM are passed to the OEM. All ROM modules are assumed to be trusted by the OEM.

HeaderDeveloper Implemented
Windows Embedded CEWindows CE 2.10 and later

Community Additions