DXGKCB_AGP_FREE_POOL callback function

The AgpFreePool function frees AGP memory that was previously allocated by AgpAllocatePool.

Syntax

DXGKCB_AGP_FREE_POOL DxgkcbAgpFreePool;

NTSTATUS DxgkcbAgpFreePool(
  IN HANDLE,
  IN PVOID
)
{...}

Parameters

HANDLE

A handle to a context block that is associated with an AGP interface. The display miniport driver previously received this handle in the Context member of the DXGK_AGP_INTERFACE structure that was filled in by DxgkCbQueryServices.

PVOID

VirtualAddress [in]

The base virtual address of the AGP allocation that is to be freed. This is the virtual address that was previously returned in the VirtualAddress output parameter of the AgpAllocatePool function.

Return Value

AgpFreePool returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

None.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header dispmprt.h (include Dispmprt.h)
IRQL PASSIVE_LEVEL

See Also

AgpAllocatePool

AgpSetCommand

DXGK_AGP_INTERFACE

DxgkCbQueryServices