VideoPortReleaseBuffer - NtDoc

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

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

NtDoc

No description available.

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

VideoPortReleaseBuffer function

Description

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.

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

Buffer [in]

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.

See also

VideoPortAllocateBuffer