// dispmprt.h
DXGKCB_GET_DEVICE_INFORMATION DxgkcbGetDeviceInformation;
NTSTATUS DxgkcbGetDeviceInformation(
[in] HANDLE DeviceHandle,
[out] PDXGK_DEVICE_INFO DeviceInfo
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DxgkCbGetDeviceInformation function gets information, including the registry path and a list of translated resources, about a specified display adapter.
DeviceHandle [in]A handle that represents a display adapter. The display miniport driver previously obtained this handle in the DeviceHandle member of the DXGKRNL_INTERFACE structure that was passed to the DxgkDdiStartDevice function.
DeviceInfo [out]A pointer to a DXGK_DEVICE_INFO structure that receives information about the display adapter.
DxgkCbGetDeviceInformation returns STATUS_SUCCESS if it succeeds; otherwise, it returns STATUS_INVALID_PARAMETER.