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 d’affichage 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 miniport d’affichage a obtenu précédemment 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 d’affichage.
Valeur de retour
DxgkCbGetDeviceInformation retourne STATUS_SUCCESS si elle réussit ; sinon, elle retourne STATUS_INVALID_PARAMETER.
Exigences
Exigence | Valeur |
---|---|
client minimum pris en charge | Windows Vista |
plateforme cible | Bureau |
d’en-tête | dispmprt.h (include Dispmprt.h) |
IRQL | PASSIVE_LEVEL |