PFND3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATACB - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATACB Pfnd3dddiGetresourcepresentprivatedriverdatacb;

HRESULT Pfnd3dddiGetresourcepresentprivatedriverdatacb(
  HANDLE hDevice,
  D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_getresourcepresentprivatedriverdatacb)

PFND3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATACB callback function

Description

pfnGetResourcePresentPrivateDriverDataCb is used to query the resource private data, which is associated with the resource during Present.

Parameters

hDevice

A handle to the display device.

unnamedParam2

pData [in, out]

A pointer to a D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA structure that describes the operation to perform and contains the results.

Return value

Return value Description
S_OK The operation completed successfully.
STATUS_INVALID_BUFFER_SIZE The value of D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA::PrivateDriverDataSize was zero or was insufficient to hold the data. When control returns to the caller, PrivateDriverDataSize will contain the required buffer size.

This method may return other HRESULT values.