VideoPortReleaseBuffer function (video.h)

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_DEPRECATED VIDEOPORT_API VOID VideoPortReleaseBuffer(
  [in] IN PVOID HwDeviceExtension,
  [in] IN PVOID Buffer
);

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in] 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

Requirement Value
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