VideoPortFreePool
TOC
Collapse the table of content
Expand the table of content

VideoPortFreePool function

The VideoPortFreePool function deallocates a block of pool memory previously allocated by VideoPortAllocatePool.

Syntax


VOID VideoPortFreePool(
  _In_ PVOID HwDeviceExtension,
  _In_ PVOID Ptr
);

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

Ptr [in]

Pointer to the first byte of the memory to be freed.

Return value

None

Remarks

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.

Requirements

Target platform

Version

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

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

See Remarks section.

See also

VideoPortAllocatePool
VideoPortAllocateCommonBuffer

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft