// d3dkmthk.h
typedef struct _D3DKMT_CREATEOVERLAY {
[in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
[in] D3DKMT_HANDLE hDevice;
[in] D3DDDI_KERNELOVERLAYINFO OverlayInfo;
[out] D3DKMT_HANDLE hOverlay;
} D3DKMT_CREATEOVERLAY;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_CREATEOVERLAY structure describes overlay hardware.
VidPnSourceId [in]The zero-based identification number of the video present source in a path of a video present network (VidPN) topology on which to overlay (that is, the identifier of the primary surface on which to overlay).
hDevice [in]A handle to the device that the overlay is associated with.
OverlayInfo [in]A D3DDDI_KERNELOVERLAYINFO structure that describes information about the kernel-mode overlay object.
hOverlay [out]A D3DKMT_HANDLE data type that represents a kernel-mode handle to the kernel-mode overlay object, which represents the overlay hardware in subsequent calls by the OpenGl ICD.