RtlQueryThreadPlaceholderCompatibilityMode function

RtlQueryThreadPlaceholderCompatibilityMode is a routine which returns the placeholder compatibility mode for the current thread.

Syntax

NTSYSAPI CHAR RtlQueryThreadPlaceholderCompatibilityMode(

);

Parameters

This function has no parameters.

Return Value

Returns the thread's placeholder compatibility mode. If there was an error it returns a negative value. It can be one of the following values:

Compatibility Mode Value
PHCM_APPLICATION_DEFAULT 0
PHCM_DISGUISE_PLACEHOLDER 1
PHCM_EXPOSE_PLACEHOLDERS 2
PHCM_MAX 2
PHCM_ERROR_INVALID_PARAMETER -1
PHCM_ERROR_NO_TEB -2

Requirements

   
Windows version Available starting with Windows 10, version 1709.
Target Platform Windows
Header ntifs.h (include Ntifs.h)

See Also

RtlSetThreadPlaceholderCompatibilityMode