This function retrieves the assigned trust level of a process.
DWORD CeGetCurrentTrust (void);
The following table shows the possible values that can be returned.
|OEM_CERTIFY_TRUST (2)||The OEM trusts the module to perform any OS function calls.|
|OEM_CERTIFY_RUN (1)||The OEM trusts the module to run, but restricts the module from making certain function calls.|
An OEM assigns the trust level when a process is loaded. A dynamically-linked library (DLL) can call this function to determine whether its trust level is sufficient to complete all operations. If the DLL is required to run in a trusted mode and is loaded in a nontrusted module, the DLL can return FALSE in its DLLEntryPoint to abort the load.
OS Versions: Windows CE 3.0 and later.
Link Library: Nk.lib.
OEMCertifyModule | Trusted APIs
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.