D3DKMT_GPU_PREFERENCE_QUERY_STATE enumeration (d3dkmthk.h)

A D3DKMT_GPU_PREFERENCE_QUERY_STATE value specifies the GPU preference for a query.

Syntax

typedef enum _D3DKMT_GPU_PREFERENCE_QUERY_STATE {
  D3DKMT_GPU_PREFERENCE_STATE_UNINITIALIZED,
  D3DKMT_GPU_PREFERENCE_STATE_HIGH_PERFORMANCE,
  D3DKMT_GPU_PREFERENCE_STATE_MINIMUM_POWER,
  D3DKMT_GPU_PREFERENCE_STATE_UNSPECIFIED,
  D3DKMT_GPU_PREFERENCE_STATE_NOT_FOUND,
  D3DKMT_GPU_PREFERENCE_STATE_USER_SPECIFIED_GPU
} D3DKMT_GPU_PREFERENCE_QUERY_STATE;

Constants

 
D3DKMT_GPU_PREFERENCE_STATE_UNINITIALIZED
The GPU preference isn't initialized.
D3DKMT_GPU_PREFERENCE_STATE_HIGH_PERFORMANCE
The highest performing GPU is preferred.
D3DKMT_GPU_PREFERENCE_STATE_MINIMUM_POWER
The minimum-powered GPU is preferred.
D3DKMT_GPU_PREFERENCE_STATE_UNSPECIFIED
A GPU preference isn't specified.
D3DKMT_GPU_PREFERENCE_STATE_NOT_FOUND
The GPU preference isn't found.

Remarks

The user preference should be one of the following three options:

  • D3DKMT_GPU_PREFERENCE_STATE_HIGH_PERFORMANCE
  • D3DKMT_GPU_PREFERENCE_STATE_MINIMUM_POWER
  • D3DKMT_GPU_PREFERENCE_STATE_UNSPECIFIED

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3dkmthk.h