VideoPortFreeCommonBuffer - NtDoc

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

VIDEOPORT_DEPRECATED VIDEOPORT_API VOID VideoPortFreeCommonBuffer(
  [in] IN PVOID            HwDeviceExtension,
  [in] IN ULONG            Length,
  [in] IN PVOID            VirtualAddress,
  [in] IN PHYSICAL_ADDRESS LogicalAddress,
  [in] IN BOOLEAN          CacheEnabled
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

VideoPortFreeCommonBuffer function

Description

The VideoPortFreeCommonBuffer function is obsolete and is supported only for backward compatibility with existing drivers. In its place, driver writers should use VideoPortReleaseCommonBuffer.

VideoPortFreeCommonBuffer deallocates system memory that was allocated by a call to VideoPortGetCommonBuffer.

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

Length [in]

Specifies the number of bytes of memory to be freed.

VirtualAddress [in]

Pointer to the corresponding virtual address of the allocated memory range.

LogicalAddress [in]

Specifies the logical address of the buffer to be freed.

CacheEnabled [in]

Indicates whether the allocated memory is cached.

Return value

None

Remarks

Except for VideoPortGetCommonBuffer's Alignment parameter, all of the parameters used in a call to VideoPortFreeCommonBuffer must have the same values as those used in the previous call to VideoPortGetCommonBuffer.

See also

VideoPortGetCommonBuffer

VideoPortReleaseCommonBuffer