VideoPortGetBytesUsed - NtDoc

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

VIDEOPORT_DEPRECATED VIDEOPORT_API ULONG VideoPortGetBytesUsed(
  [in] IN PVOID HwDeviceExtension,
  [in] IN PDMA  pDma
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

VideoPortGetBytesUsed function

Description

The VideoPortGetBytesUsed function is obsolete in Windows 2000 and later.

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

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

pDma [in]

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.