D3DKMTCheckMonitorPowerState function (d3dkmthk.h)
The D3DKMTCheckMonitorPowerState function verifies the power state of a monitor.
Syntax
NTSTATUS D3DKMTCheckMonitorPowerState(
[in] const D3DKMT_CHECKMONITORPOWERSTATE *unnamedParam1
);
Parameters
[in] unnamedParam1
A pointer to a D3DKMT_CHECKMONITORPOWERSTATE structure that describes the connection to the monitor for which to check the power state.
Return value
D3DKMTCheckMonitorPowerState returns one of the following values:
Return code | Description |
---|---|
STATUS_SUCCESS | The power state of the monitor was successfully verified. |
STATUS_INVALID_PARAMETER | Parameters were validated and determined to be incorrect. |
This function might also return other NTSTATUS values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Target Platform | Universal |
Header | d3dkmthk.h (include D3dkmthk.h) |
Library | Gdi32.lib |
DLL | Gdi32.dll |