_D3DKMT_GETDEVICESTATE structure

The D3DKMT_GETDEVICESTATE structure describes parameters for retrieving the state of a device.

Syntax

typedef struct _D3DKMT_GETDEVICESTATE {
  D3DKMT_HANDLE           hDevice;
  D3DKMT_DEVICESTATE_TYPE StateType;
  union {
    D3DKMT_DEVICEEXECUTION_STATE ExecutionState;
    D3DKMT_DEVICEPRESENT_STATE   PresentState;
    D3DKMT_DEVICERESET_STATE     ResetState;
  };
} D3DKMT_GETDEVICESTATE;

Members

hDevice

[in] A handle to the device that status is requested for.

StateType

[in] A D3DKMT_DEVICESTATE_TYPE-typed value that indicates the type of status to retrieve for the device.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems. Available in Windows Vista and later versions of the Windows operating systems.
Header d3dkmthk.h (include D3dkmthk.h)

See Also

D3DKMTGetDeviceState

D3DKMT_DEVICESTATE_TYPE

D3DKMT_DEVICEPRESENT_STATE

D3DKMT_DEVICEEXECUTION_STATE

D3DKMT_DEVICERESET_STATE

Send comments about this topic to Microsoft