D3DDDI_QUERYREGISTRY_STATUS enumeration (d3dukmdt.h)

These status codes indicate how successfully data was retrieved through QueryAdapterInfo for KMTQAITYPE_QUERYREGISTRY.

Syntax

typedef enum _D3DDDI_QUERYREGISTRY_STATUS {
  D3DDDI_QUERYREGISTRY_STATUS_SUCCESS,
  D3DDDI_QUERYREGISTRY_STATUS_BUFFER_OVERFLOW,
  D3DDDI_QUERYREGISTRY_STATUS_FAIL,
  D3DDDI_QUERYREGISTRY_STATUS_MAX
} D3DDDI_QUERYREGISTRY_STATUS;

Constants

 
D3DDDI_QUERYREGISTRY_STATUS_SUCCESS
This status code indicates full success, and QueryAdapterInfo succeeded as well.
All D3DDDI_QUERYREGISTRY_INFO fields starting with Output are updated after returning from QueryAdapterInfo, in addition to the D3DDDI_QUERYREGISTRY_INFO::Status field.
D3DDDI_QUERYREGISTRY_STATUS_BUFFER_OVERFLOW
This status code means D3DKMT_QUERYADAPTERINFO::PrivateDriverDataSize was not large enough to retrieve all the requested data.
Only D3DDDI_QUERYREGISTRY_INFO::OutputValueSize is updated after returning from QueryAdapterInfo, in addition to the D3DDDI_QUERYREGISTRY_INFO::Status field.
D3DDDI_QUERYREGISTRY_STATUS_FAIL
An unspecified error occurred, and QueryAdapterInfo failed as well.
All other D3DDDI_QUERYREGISTRY_INFO fields are left unmodified after returning from QueryAdapterInfo.
Since D3DDDI_QUERYREGISTRY_INFO is a variable-sized struct,
D3DDDI_QUERYREGISTRY_STATUS_FAIL will reliably occur when D3DKMT_QUERYADAPTERINFO::PrivateDriverDataSize is smaller than the size of D3DDDI_QUERYREGISTRY_INFO.
D3DDDI_QUERYREGISTRY_STATUS_MAX
D3DDDI_QUERYREGISTRY_STATUS_MAX is invalid to use, and merely exists to simplify maintaining the implementation.

Requirements

Requirement Value
Header d3dukmdt.h

See also