// d3dumddi.h
PFND3DDDI_PRESENTMULTIPLANEOVERLAYCB Pfnd3dddiPresentmultiplaneoverlaycb;
HRESULT Pfnd3dddiPresentmultiplaneoverlaycb(
HANDLE hDevice,
const D3DDDICB_PRESENTMULTIPLANEOVERLAY *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Copies content from a source multiplane overlay allocation to a destination allocation. Can be called by Windows Display Driver Model (WDDM) 1.3 or later user-mode display drivers.
hDeviceA handle to a display device (graphics context).
unnamedParam2pPresent [in]
A pointer to a D3DDDICB_PRESENTMULTIPLANEOVERLAY structure that describes the source and destination allocations that content is copied from and to.
Returns one of these values:
| Return code | Description |
|---|---|
| S_OK | Content was successfully copied. |
| E_OUTOFMEMORY | The function could not complete because of insufficient memory. |
| E_INVALIDARG | Parameters were validated and determined to be incorrect. |
The user-mode display driver should call this function only after it has successfully processed a call by the Microsoft DirectX Graphics Infrastructure (DXGI) runtime to the pfnPresentMultiplaneOverlay (D3D) function.
Note When the display driver calls pfnPresentMultiPlaneOverlayCb (D3D), it must maintain the same order of allocations in the AllocationInfo array member of the D3DDDICB_PRESENTMULTIPLANEOVERLAY structure as it received from the Microsoft Direct3D runtime when the runtime called pfnPresentMultiplaneOverlay (D3D).
For example, the allocation handle in index 1 of AllocationInfo must represent the same resource that was passed to the driver in index 1 of the pPresentPlanes member of the D3DDDIARG_PRESENTMULTIPLANEOVERLAY structure used with pfnPresentMultiplaneOverlay (D3D).
D3DDDIARG_PRESENTMULTIPLANEOVERLAY
D3DDDICB_PRESENTMULTIPLANEOVERLAY
pfnPresentMultiplaneOverlay (D3D)