D3DKMT_QUERYRESOURCEINFO structure (d3dkmthk.h)
The D3DKMT_QUERYRESOURCEINFO structure describes parameters for retrieving information about a resource.
Syntax
typedef struct _D3DKMT_QUERYRESOURCEINFO {
[in] D3DKMT_HANDLE hDevice;
[in] D3DKMT_HANDLE hGlobalShare;
void D3DKMT_PTR(
VOID *unnamedParam1,
pPrivateRuntimeData unnamedParam2
);
[in/out] UINT PrivateRuntimeDataSize;
[out] UINT TotalPrivateDriverDataSize;
[out] UINT ResourcePrivateDriverDataSize;
[out] UINT NumAllocations;
} D3DKMT_QUERYRESOURCEINFO;
Members
[in] hDevice
A handle to the device that the resource and allocations are associated with.
[in] hGlobalShare
A handle to the shared resource to open.
void D3DKMT_PTR( VOID *unnamedParam1, pPrivateRuntimeData unnamedParam2)
[in/out] PrivateRuntimeDataSize
The size, in bytes, of the buffer that pPrivateRuntimeData points to. If pPrivateRuntimeData is NULL, PrivateRuntimeDataSize is set to the size, in bytes, that is required for the buffer to store the runtime-private data.
[out] TotalPrivateDriverDataSize
The size, in bytes, of the buffer that is required to hold the private driver data for all of the allocations that are associated with the resource.
[out] ResourcePrivateDriverDataSize
The size, in bytes, of the buffer that is required to hold the private driver data for the resource.
[out] NumAllocations
The number of allocations that are associated with the resource.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Header | d3dkmthk.h (include D3dkmthk.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for