VideoPortFreePool function

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

Syntax

VIDEOPORT_API VOID VideoPortFreePool(
  IN PVOID HwDeviceExtension,
  IN PVOID Ptr
);

Parameters

HwDeviceExtension

Pointer to the miniport driver's device extension.

Ptr

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.

Requirements

   
Minimum supported client Available in Windows XP and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL See Remarks section.

See Also

VideoPortAllocateCommonBuffer

VideoPortAllocatePool