OEMCertifyModuleInit (Windows CE 5.0)

Send Feedback

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 );

Parameters

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

Return Values

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

FALSE indicates that the module should not be loaded.

Remarks

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.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Developer defined.
Link Library: Nk.lib.

See Also

CreateProcess | OEMCertifyModule | OEMInit

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.