// d3dkmddi.h
typedef struct _DXGK_MULTIPLANE_OVERLAY_PLANE2 {
UINT LayerIndex;
BOOL Enabled;
UINT AllocationSegment;
PHYSICAL_ADDRESS AllocationAddress;
HANDLE hAllocation;
DXGK_MULTIPLANE_OVERLAY_ATTRIBUTES2 PlaneAttributes;
} DXGK_MULTIPLANE_OVERLAY_PLANE2;
View the official Windows Driver Kit DDI referenceNo description available.
[!NOTE] This structure has been replaced by DXGK_MULTIPLANE_OVERLAY_PLANE3.
DXGK_MULTIPLANE_OVERLAY_PLANE2 is used with the DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay2 function to specify an overlay plane to display.
LayerIndexThe zero-based index of the overlay plane to display. The top plane (in the z-direction) has index zero. The planes' index values must be sequential from top to bottom.
EnabledIndicates whether the overlay plane specified by LayerIndex is enabled for display.
AllocationSegmentThe identifier of a segment that data is read from.
AllocationAddressA PHYSICAL_ADDRESS data type (which is defined as LARGE_INTEGER) that indicates the physical address within the segment that AllocationSegment specifies, where the data is read.
hAllocationA handle to the allocation to be displayed on the overlay plane.
PlaneAttributesA structure of type DXGK_MULTIPLANE_OVERLAY_ATTRIBUTES2 that specifies overlay plane attributes.
DXGK_MULTIPLANE_OVERLAY_ATTRIBUTES2
DxgkDdiSetVidPnSourceAddressWithMultiPlaneOverlay2