// d3dukmdt.h
typedef enum _D3DDDI_QUERYREGISTRY_TYPE {
D3DDDI_QUERYREGISTRY_SERVICEKEY,
D3DDDI_QUERYREGISTRY_ADAPTERKEY,
D3DDDI_QUERYREGISTRY_DRIVERSTOREPATH,
D3DDDI_QUERYREGISTRY_DRIVERIMAGEPATH,
D3DDDI_QUERYREGISTRY_MAX
} D3DDDI_QUERYREGISTRY_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
D3DDDI_QUERYREGISTRY_TYPE enumeration values indicate which data to retrieve through pfnQueryAdapterInfoCb2 for D3DDDI_QUERYADAPTERTYPE_QUERYREGISTRY.
D3DDDI_QUERYREGISTRY_SERVICEKEYIndicates to retrieve registry data from the service hive. The registry path is \REGISTRY\MACHINE\SYSTEM\CurrentControlSet\Services\<ServiceName>.
See Introduction to Registry Keys for Drivers for more details, where it is referred to as the driver's Parameters key.
D3DDDI_QUERYREGISTRY_ADAPTERKEYIndicates to retrieve registry data from the adapter hive. The registry path is \REGISTRY\MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\<Number>.
See Introduction to Registry Keys for Drivers for more details, where it is referred to as the driver's Software key.
D3DDDI_QUERYREGISTRY_DRIVERSTOREPATHIndicates to retrieve the driver store path for the adapter. The full driver store path is returned in D3DDDI_QUERYREGISTRY_INFO::OutputString. The path is returned in the form of <SystemDrive>:\system32\DriverStore\FileRepository\<DriverString>.
D3DDDI_QUERYREGISTRY_DRIVERIMAGEPATHIndicates to retrieve the driver image path, which includes the driver name associated with DriverEntry.
D3DDDI_QUERYREGISTRY_MAXMax value for this enum; don't use.