// d3dumddi.h
PFND3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATACB Pfnd3dddiGetresourcepresentprivatedriverdatacb;
HRESULT Pfnd3dddiGetresourcepresentprivatedriverdatacb(
HANDLE hDevice,
D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
pfnGetResourcePresentPrivateDriverDataCb is used to query the resource private data, which is associated with the resource during Present.
hDeviceA handle to the display device.
unnamedParam2pData [in, out]
A pointer to a D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA structure that describes the operation to perform and contains the results.
| 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.