Bewerken

Delen via


D3D12DDICB_ALLOCATE_0022 structure (d3d12umddi.h)

Specifies information for use in an allocation callback function.

Syntax

typedef struct D3D12DDICB_ALLOCATE_0022 {
  const VOID                    *pPrivateDriverData;
  UINT                          PrivateDriverDataSize;
  HANDLE                        hResource;
  D3DKMT_HANDLE                 hKMResource;
  UINT                          NumAllocations;
  D3D12DDI_ALLOCATION_INFO_0022 *pAllocationInfo;
} D3D12DDICB_ALLOCATE_0022;

Members

pPrivateDriverData

A pointer to a buffer that contains optional private driver data.

PrivateDriverDataSize

Size of the private driver data.

hResource

The handle of a resource.

hKMResource

Reserved.

NumAllocations

The number of allocations.

pAllocationInfo

Allocation as a D3D12DDI_ALLOCATION_INFO_0022 structure.

Requirements

Requirement Value
Header d3d12umddi.h (include D3d12umddi.h)

See also

D3D12DDI_ALLOCATION_INFO_0022