Bewerken

Delen via


VideoPortGetBytesUsed function (video.h)

The VideoPortGetBytesUsed function is obsolete in Windows 2000 and later.

VideoPortGetBytesUsed determines the size, in bytes, of the buffer associated with a DMA handle.

Syntax

VIDEOPORT_DEPRECATED VIDEOPORT_API ULONG VideoPortGetBytesUsed(
  [in] IN PVOID HwDeviceExtension,
  [in] IN PDMA  pDma
);

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in] pDma

Pointer to a DMA handle. To obtain the appropriate DMA handle, use the value in the OutputBuffer member of the pVrp parameter after VideoPortLockPages returns.

Return value

VideoPortGetBytesUsed always returns zero.

Remarks

See Bus-Master DMA in Video Miniport Drivers for information about packet-based and common-buffer DMA transfers.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys