// d3dkmddi.h
typedef struct _DXGK_OVERLAYINFO {
[in] HANDLE hAllocation;
[in] PHYSICAL_ADDRESS PhysicalAddress;
[in] UINT SegmentId;
[in] RECT DstRect;
[in] RECT SrcRect;
[in] VOID *pPrivateDriverData;
[in] UINT PrivateDriverDataSize;
} DXGK_OVERLAYINFO;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGK_OVERLAYINFO structure describes parameters that are required to create or modify an overlay.
hAllocation [in]A handle to the allocation to be displayed on the overlay.
PhysicalAddress [in]The physical address, within the segment that SegmentId specifies, of the allocation to be displayed.
SegmentId [in]The identifier of a segment in which the allocation is currently paged-in.
DstRect [in]A RECT structure that contains the overlay destination rectangle, in device coordinates.
SrcRect [in]A RECT structure that contains the overlay source rectangle, in device coordinates.
pPrivateDriverData [in]A pointer to a block of private data that is passed from the user-mode display driver to the display miniport driver.
PrivateDriverDataSize [in]The size, in bytes, of the block of private data that pPrivateDriverData points to.