This topic has not yet been rated - Rate this topic

AgpFreePool routine

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

Syntax


DXGKCB_AGP_FREE_POOL AgpFreePool;

NTSTATUS APIENTRY AgpFreePool(
  _In_  HANDLE Context,
  _In_  PVOID VirtualAddress
)
{ ... }

Parameters

Context [in]

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.

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Dispmprt.h (include Dispmprt.h)

IRQL

PASSIVE_LEVEL

See also

AgpAllocatePool
AgpSetCommand
DXGK_AGP_INTERFACE
DxgkCbQueryServices

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.