VideoPortFreePool - NtDoc

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

VIDEOPORT_API VOID VideoPortFreePool(
  [in] IN PVOID HwDeviceExtension,
  [in] IN PVOID Ptr
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-video-videoportfreepool)

VideoPortFreePool function

Description

The VideoPortFreePool function deallocates a block of pool memory previously allocated by VideoPortAllocatePool.

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

Ptr [in]

Pointer to the first byte of the memory to be freed.

Return value

None

Remarks

VideoPortFreePool is intended to replace VideoPortReleaseBuffer, which is obsolete.

Callers of VideoPortFreePool must be running at IRQL <= DISPATCH_LEVEL. A caller at DISPATCH_LEVEL must have specified a VpNonPaged XxxPoolType when the memory was allocated. Otherwise, the caller must be running at IRQL < DISPATCH_LEVEL.

See also

VideoPortAllocateCommonBuffer

VideoPortAllocatePool