D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA - NtDoc

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

typedef struct _D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
  [in]      D3DKMT_HANDLE hResource;
  [in, out] UINT          PrivateDriverDataSize;
  [in, out] PVOID         pPrivateDriverData;
} D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dukmdt-_d3dddi_getresourcepresentprivatedriverdata)

_D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA structure

Description

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

Members

hResource [in]

A DirectX graphics kernel resource handle.

PrivateDriverDataSize [in, out]

The size of the pPrivateDriverData buffer in bytes. When zero or when there is insufficient space, the size of the required buffer is returned back to the caller along with a STATUS_INVALID_BUFFER_SIZEHRESULT value from the calling method.

Note By the time another call is made with the new buffer size, the resource could be associated with a different sized buffer.

pPrivateDriverData [in, out]

The buffer where the private data will be written to.

See also

pfnGetResourcePresentPrivateDriverDataCb