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.
VOID VideoPortFreeCommonBuffer( _In_ PVOID HwDeviceExtension, _In_ ULONG Length, _In_ PVOID VirtualAddress, _In_ PHYSICAL_ADDRESS LogicalAddress, _In_ BOOLEAN CacheEnabled );
Pointer to the miniport driver's device extension.
Specifies the number of bytes of memory to be freed.
Pointer to the corresponding virtual address of the allocated memory range.
Specifies the logical address of the buffer to be freed.
Indicates whether the allocated memory is cached.
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.
|Windows version||Available in Windows 2000 and later versions of the Windows operating systems.|
|Header||video.h (include Video.h)|