PFND3DKMT_CHECKMONITORPOWERSTATE callback function (d3dkmthk.h)

The D3DKMTCheckMonitorPowerState function verifies the power state of a monitor.

Syntax

PFND3DKMT_CHECKMONITORPOWERSTATE Pfnd3dkmtCheckmonitorpowerstate;

NTSTATUS Pfnd3dkmtCheckmonitorpowerstate(
  const D3DKMT_CHECKMONITORPOWERSTATE *unnamedParam1
)
{...}

Parameters

unnamedParam1

pData [in]

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)

See also

D3DKMT_CHECKMONITORPOWERSTATE