VideoPortReleaseBuffer function

The VideoPortReleaseBuffer function is obsolete in Windows 2000 and later. In its place, video miniport drivers should instead use VideoPortFreePool.

VideoPortReleaseBuffer deallocates a block of paged pool memory.

Syntax

VIDEOPORT_API VOID VideoPortReleaseBuffer(
  IN PVOID HwDeviceExtension,
  IN PVOID Buffer
);

Parameters

HwDeviceExtension

Pointer to the miniport driver's device extension.

Buffer

Specifies the address of the block of pool memory being deallocated.

Return Value

None

Remarks

This function releases memory allocated by VideoPortAllocateBuffer. A miniport driver must not access the memory block to which Buffer points after it has been freed.

Requirements

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

See Also

VideoPortAllocateBuffer