CeGetCallerTrust (Windows CE 5.0)
This function retrieves the assigned trust level of a process.
DWORD CeGetCallerTrust (void);
The following table shows the possible values that can be returned.
|OEM_CERTIFY_TRUST (2)||The OEM trusts the process to perform OS function calls.|
|OEM_CERTIFY_RUN (1)||The OEM trusts the process to run, but restricts the module from making some function calls.|
|NULL||The OEM does not trust this calling process.|
The trust level is assigned by an OEM when a process is loaded or by setting an attribute in a .bib file.
A Driver DLL that exists in the Device Manager's address space can call this function to determine whether the calling process's trust level is sufficient to complete all operations.
If the Driver DLL is required to run in a trusted mode and the calling process is not trusted, the driver should return NULL to the application's request to get a handle to the driver.
OS Versions: Windows CE 3.0 and later.
Link Library: Coredll.lib.
Send Feedback on this topic to the authors