D3DKMT_CREATEOVERLAY structure (d3dkmthk.h)

The D3DKMT_CREATEOVERLAY structure describes overlay hardware.

Syntax

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;

Members

[in] VidPnSourceId

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).

[in] hDevice

A handle to the device that the overlay is associated with.

[in] OverlayInfo

A D3DDDI_KERNELOVERLAYINFO structure that describes information about the kernel-mode overlay object.

[out] hOverlay

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.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DDDI_KERNELOVERLAYINFO

D3DKMTCreateOverlay