The VideoPortFreePool function deallocates a block of pool memory previously allocated by VideoPortAllocatePool.
VIDEOPORT_API VOID VideoPortFreePool( IN PVOID HwDeviceExtension, IN PVOID Ptr );
Pointer to the miniport driver's device extension.
Pointer to the first byte of the memory to be freed.
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.
|Minimum supported client||Available in Windows XP and later versions of the Windows operating systems.|
|Header||video.h (include Video.h)|
|IRQL||See Remarks section.|