// d3dumddi.h
typedef struct _D3DDDIARG_CREATEOVERLAY {
[in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
[in] D3DDDI_OVERLAYINFO OverlayInfo;
[out] HANDLE hOverlay;
} D3DDDIARG_CREATEOVERLAY;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDIARG_CREATEOVERLAY structure describes an overlay to create.
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 pointer to the D3DDDI_OVERLAYINFO structure that describes information about the overlay.
hOverlay [out]A handle to the overlay. The user-mode display driver must set this handle to a value that the Microsoft Direct3D runtime can use to identify the overlay hardware in subsequent calls.