// 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 referenceNo description available.
D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA is used with pfnGetResourcePresentPrivateDriverDataCb to query the resource private data, which is associated with the resource during Present.
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.
pfnGetResourcePresentPrivateDriverDataCb