CeGetCurrentTrust (Windows Embedded CE 6.0)

1/6/2010

This function obtains the trust level of a process. This function is deprecated.

Syntax

DWORD CeGetCurrentTrust (void);

Parameters

None.

Return Value

The following table shows possible return values.

Value Description

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 an untrusted module, the DLL can return FALSE in its DLLEntryPoint** to abort the load.**

This function is deprecated in Windows Embedded CE 6.0. It now always returns OEM_CERTIFY_TRUST, no matter who the caller is.

Requirements

Header kfuncs.h
Library Nk.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Kernel Functions

Other Resources

OEMCertifyModule