DXGKDDI_DESCRIBEALLOCATION - NtDoc

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

DXGKDDI_DESCRIBEALLOCATION DxgkddiDescribeallocation;

NTSTATUS DxgkddiDescribeallocation(
  [in]     IN_CONST_HANDLE hAdapter,
  [in/out] INOUT_PDXGKARG_DESCRIBEALLOCATION pDescribeAllocation
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_describeallocation)

DXGKDDI_DESCRIBEALLOCATION callback function

Description

The DxgkDdiDescribeAllocation function retrieves information about an existing allocation that is not otherwise available to the Microsoft DirectX graphics kernel subsystem.

Parameters

hAdapter [in]

A handle to a context block that is associated with a display adapter. The display miniport driver previously provided this handle to the DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

pDescribeAllocation [in/out]

A pointer to a DXGKARG_DESCRIBEALLOCATION structure that describes an existing allocation.

Return value

DxgkDdiDescribeAllocation returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

Because the DirectX graphics kernel subsystem does not necessarily maintain records of allocations, the graphics kernel subsystem calls DxgkDdiDescribeAllocation to request that the display miniport driver return information about existing allocations. Currently, the display miniport driver must be able to return this information for the following allocations:

DxgkDdiDescribeAllocation should be made pageable.

See also

D3DDDI_ALLOCATIONINFO

DXGKARG_DESCRIBEALLOCATION

DxgkDdiAddDevice

DxgkDdiPresent

pfnAllocateCb