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


VOID VideoPortReleaseBuffer(
  _In_ PVOID HwDeviceExtension,
  _In_ PVOID Buffer
);

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.

Requirements

Target platform

Desktop

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

PASSIVE_LEVEL

See also

VideoPortAllocateBuffer

 

 

Send comments about this topic to Microsoft

Show: