Expand Minimize

D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE structure

Describes information that is required to map a global NT handle to resource information.

Syntax


typedef struct _D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {
  D3DKMT_HANDLE hDevice;
  HANDLE        hNtHandle;
  VOID          *pPrivateRuntimeData;
  UINT          PrivateRuntimeDataSize;
  UINT          TotalPrivateDriverDataSize;
  UINT          ResourcePrivateDriverDataSize;
  UINT          NumAllocations;
} D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE;

Members

hDevice

[in] A D3DKMT_HANDLE data type that represents a kernel-mode handle to the device.

hNtHandle

[in] A global NT handle to the resource that is to be queried.

pPrivateRuntimeData

[in] A pointer to a caller-supplied buffer where the runtime private data associated with the resource will be copied to.

PrivateRuntimeDataSize

[in] The size, in bytes, of the buffer pointed to by the pPrivateRuntimeData member.

[out] If pPrivateRuntimeData is NULL, this member is the size, in bytes, of the buffer required to receive the runtime private data. Otherwise, this member is the size, in bytes, of runtime private data copied into the buffer.

TotalPrivateDriverDataSize

[out] The size, in bytes, of the buffer that is required to hold all the driver private data for all allocations associated with the resource.

ResourcePrivateDriverDataSize

[out] The size, in bytes, of the driver's resource private data.

NumAllocations

[out] The number of allocations associated with the resource.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DKMTQueryResourceInfoFromNtHandle

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft