// 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 referenceNo description available.
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.
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.
None
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.