Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA is used with pfnGetResourcePresentPrivateDriverDataCb to query the resource private data, which is associated with the resource during Present.
Syntax
typedef struct _D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
[in] D3DKMT_HANDLE hResource;
[in, out] UINT PrivateDriverDataSize;
[in, out] PVOID pPrivateDriverData;
} D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA;
Members
[in] hResource
A DirectX graphics kernel resource handle.
[in, PrivateDriverDataSize
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.
[in, pPrivateDriverData
The buffer where the private data will be written to.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 |
| Minimum supported server | Windows Server 2016 |
| Header | d3dukmdt.h (include D3dumddi.h, D3dkmddi.h) |