Bewerken

Delen via


PAGP_RELEASE_VIRTUAL callback function (videoagp.h)

The AgpReleaseVirtual function frees system memory reserved by a previous call to AgpReserveVirtual.

Syntax

PAGP_RELEASE_VIRTUAL PagpReleaseVirtual;

void PagpReleaseVirtual(
  [in] IN PVOID HwDeviceExtension,
  [in] IN PVOID VirtualReserveContext
)
{...}

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in] VirtualReserveContext

Is the context handle that identifies the reserved virtual address range to be released. This context was obtained from AgpReleaseVirtual.

Return value

None

Remarks

The miniport driver must call AgpFreeVirtual to unmap all committed memory within the range identified by VirtualReserveContext before calling AgpReleaseVirtual to release it.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Desktop
Header videoagp.h (include Video.h)
IRQL PASSIVE_LEVEL

See also

AgpFreePhysical

AgpReservePhysical