DXGK_DISPLAY_INFORMATION structure

Contains the display information that is passed between the operating system and the display miniport driver when the driver is started or stopped in response to a Plug and Play (PnP) event.

Syntax

typedef struct _DXGK_DISPLAY_INFORMATION {
  UINT                           Width;
  UINT                           Height;
  UINT                           Pitch;
  D3DDDIFORMAT                   ColorFormat;
  PHYSICAL_ADDRESS               PhysicAddress;
  D3DDDI_VIDEO_PRESENT_TARGET_ID TargetId;
  ULONG                          AcpiId;
} DXGK_DISPLAY_INFORMATION, *PDXGK_DISPLAY_INFORMATION;

Members

Width

A UINT value that specifies the width of the current display mode in units of pixels.

Height

A UINT value that specifies the height of the current display mode in units of pixels.

Pitch

A UINT value that specifies the total number of bytes contained in one screen line.

ColorFormat

A value of type D3DDDIFORMAT that indicates the pixel color format of the current display mode. The driver does not have to support all color formats in the D3DDDIFORMAT structure. For more information on formats that must be supported, see DxgkCbAcquirePostDisplayOwnership and DxgkDdiStopDeviceAndReleasePostDisplayOwnership.

PhysicAddress

The physical start address of the frame buffer for the current display mode.

TargetId

An integer value that specifies the identifier of the video present target on the display adapter that the display device is connected to.

AcpiId

A ULONG value that specifies the ACPI identifier of the video present target specified by the TargetId member.

Note  If the video present target is not an ACPI device, this member must be set to zero.
 

Remarks

For more information on the use of the members of DXGK_DISPLAY_INFORMATION, see DxgkCbAcquirePostDisplayOwnership and DxgkDdiStopDeviceAndReleasePostDisplayOwnership.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dkmdt.h (include D3dkmdt.h)

See Also

D3DDDIFORMAT

DxgkCbAcquirePostDisplayOwnership

DxgkDdiStopDeviceAndReleasePostDisplayOwnership