DXGKCB_GET_DEVICE_INFORMATION fonction de rappel (dispmprt.h)

La fonction DxgkCbGetDeviceInformation obtient des informations, notamment le chemin du Registre et une liste de ressources traduites, sur un adaptateur graphique spécifié.

Syntaxe

DXGKCB_GET_DEVICE_INFORMATION DxgkcbGetDeviceInformation;

NTSTATUS DxgkcbGetDeviceInformation(
  [in]  HANDLE DeviceHandle,
  [out] PDXGK_DEVICE_INFO DeviceInfo
)
{...}

Paramètres

[in] DeviceHandle

Handle qui représente un adaptateur d’affichage. Le pilote de miniport d’affichage a précédemment obtenu ce handle dans le membre DeviceHandle de la structure DXGKRNL_INTERFACE qui a été passée à la fonction DxgkDdiStartDevice .

[out] DeviceInfo

Pointeur vers une structure DXGK_DEVICE_INFO qui reçoit des informations sur l’adaptateur graphique.

Valeur retournée

DxgkCbGetDeviceInformation retourne STATUS_SUCCESS si elle réussit ; sinon, elle retourne STATUS_INVALID_PARAMETER.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Disponible dans Windows Vista et versions ultérieures des systèmes d’exploitation Windows.
Plateforme cible Desktop (Expérience utilisateur)
En-tête dispmprt.h (include Dispmprt.h)
IRQL PASSIVE_LEVEL

Voir aussi

DXGK_DEVICE_INFO

DxgkDdiStartDevice