Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
RtlQueryThreadPlaceholderCompatibilityMode returns the placeholder compatibility mode for the current thread.
Syntax
NTSYSAPI CHAR RtlQueryThreadPlaceholderCompatibilityMode();
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 |
Remarks
This function is similar to RtlQueryProcessPlaceholderCompatibilityMode, but performs at a thread level instead of a process level.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709. |
Target Platform | Windows |
Header | ntifs.h (include Ntifs.h) |
See also
RtlQueryProcessPlaceholderCompatibilityMode