CeGetCallerTrust (Windows Embedded CE 6.0)
1/6/2010
This function obtains the assigned trust level of a process.
Syntax
DWORD CeGetCallerTrust (void);
Parameters
None.
Return Value
- NULL
The OEM does not trust this calling process.
- OEM_CERTIFY_RUN (1)
The OEM trusts the process to run, but restricts the module from making some function calls.
- OEM_CERTIFY_TRUST (2)
The OEM trusts the process to perform OS function calls.
Remarks
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 untrusted, the driver should return NULL to the application's request to get a handle to the driver.**
This API is deprecated in Windows Embedded CE 6.0. It will now always return OEM_CERTIFY_TRUST no matter who the caller.**
Requirements
Header | kfuncs.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 3.0 and later |