Expand Minimize

D3DKMTCheckMonitorPowerState function

The D3DKMTCheckMonitorPowerState function verifies the power state of a monitor.

Syntax


NTSTATUS APIENTRY D3DKMTCheckMonitorPowerState(
  _In_  const D3DKMT_CHECKMONITORPOWERSTATE *pData
);

Parameters

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 codeDescription
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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmthk.h (include D3dkmthk.h)

Library

Gdi32.lib

See also

D3DKMT_CHECKMONITORPOWERSTATE

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft