// d3dumddi.h
typedef struct _D3DDDICB_CREATEOVERLAY {
[in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
[in] D3DDDI_KERNELOVERLAYINFO OverlayInfo;
[out] D3DKMT_HANDLE hKernelOverlay;
} D3DDDICB_CREATEOVERLAY;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDICB_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 to overlay on (that is, the identifier of the primary surface to overlay on).
OverlayInfo [in]A D3DDDI_KERNELOVERLAYINFO structure that describes information about the kernel-mode overlay object.
hKernelOverlay [out]A D3DKMT_HANDLE data type that represents a kernel-mode handle to the kernel-mode overlay object. This overlay object represents the overlay hardware in subsequent calls by the user-mode display driver to the Microsoft Direct3D runtime.