PFND3D12DDI_ALLOCATE_CB_0022 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

PFND3D12DDI_ALLOCATE_CB_0022 Pfnd3d12ddiAllocateCb0022;

HRESULT Pfnd3d12ddiAllocateCb0022(
  D3D12DDI_HRTDEVICE unnamedParam1,
  D3D12DDICB_ALLOCATE_0022 *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d12umddi-pfnd3d12ddi_allocate_cb_0022)

PFND3D12DDI_ALLOCATE_CB_0022 callback function

Description

The pfnAllocateCb callback function controls heap allocation by using a D3D12DDICB_ALLOCATE_0022 value.

Parameters

unnamedParam1

The handle for a device.

unnamedParam2

A D3D12DDICB_ALLOCATE_0022 structure that contains information for an allocation.

Return value

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Access this callback function by using the D3D12DDI_CORELAYER_DEVICECALLBACKS_0022 structure.

The driver must check the return value of the function.

See also

D3D12DDICB_ALLOCATE_0022

D3D12DDI_CORELAYER_DEVICECALLBACKS_0022

pfnDeallocateCb