DXGKCB_GET_DEVICE_INFORMATION callback function

The DxgkCbGetDeviceInformation function gets information, including the registry path and a list of translated resources, about a specified display adapter.

Syntax

DXGKCB_GET_DEVICE_INFORMATION DxgkcbGetDeviceInformation;

NTSTATUS DxgkcbGetDeviceInformation(
  HANDLE DeviceHandle,
  PDXGK_DEVICE_INFO DeviceInfo
)
{...}

Parameters

DeviceHandle

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

A pointer to a DXGK_DEVICE_INFO structure that receives information about the display adapter.

Return Value

DxgkCbGetDeviceInformation returns STATUS_SUCCESS if it succeeds; otherwise, it returns STATUS_INVALID_PARAMETER.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header dispmprt.h (include Dispmprt.h)
IRQL PASSIVE_LEVEL

See Also

DXGK_DEVICE_INFO

DxgkDdiStartDevice