DXGKCB_GET_DEVICE_INFORMATION callback function (dispmprt.h)

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(
  [in]  HANDLE DeviceHandle,
  [out] PDXGK_DEVICE_INFO DeviceInfo
)
{...}

Parameters

[in] 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.

[out] 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

Requirement Value
Minimum supported client Windows Vista
Target Platform Desktop
Header dispmprt.h (include Dispmprt.h)
IRQL PASSIVE_LEVEL

See also

DXGK_DEVICE_INFO

DxgkDdiStartDevice