// dispmprt.h
typedef struct _DXGK_DEVICE_INFO {
PVOID MiniportDeviceContext;
PDEVICE_OBJECT PhysicalDeviceObject;
UNICODE_STRING DeviceRegistryPath;
PCM_RESOURCE_LIST TranslatedResourceList;
LARGE_INTEGER SystemMemorySize;
PHYSICAL_ADDRESS HighestPhysicalAddress;
PHYSICAL_ADDRESS AgpApertureBase;
SIZE_T AgpApertureSize;
DOCKING_STATE DockingState;
} DXGK_DEVICE_INFO, *PDXGK_DEVICE_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_DEVICE_INFO structure holds information that describes a display adapter.
MiniportDeviceContextA handle to a context block (created and maintained by the display miniport driver) associated with a display adapter.
PhysicalDeviceObjectA pointer to the physical device object (PDO) that represents the display adapter.
DeviceRegistryPathA Unicode string that holds the registry path of the software key for the display adapter. Registry data should be written only to this path.
TranslatedResourceListA pointer to a CM_RESOURCE_LIST structure that holds the translated resources assigned to the display adapter.
SystemMemorySizeThe size, in bytes, of system memory.
HighestPhysicalAddressThe highest physical address of system memory (RAM).
AgpApertureBaseThe base physical address of the AGP aperture. If 0, the display adapter is not an AGP adapter, or AGP resources were not found.
AgpApertureSizeThe size, in bytes, of the AGP aperture. If 0, the display adapter is not an AGP adapter, or AGP resources were not found.
DockingStateThe state of a portable computer that can be attached to a docking station.
The display miniport driver's DxgkDdiStartDevice function allocates a DXGK_DEVICE_INFO structure and calls DxgkCbGetDeviceInformation to get that structure filled in with information about a display adapter. Five of the structure members (Version, SystemMemorySize, HighestPhysicalAddress, AgpApertureBase, and AgpApertureSize) hold general information and are not associated with a particular display adapter. Those members are included in the DXGK_DEVICE_INFO structure because they provide information that DxgkDdiStartDevice requires to initialize the driver and display adapter hardware.