// video.h
VIDEOPORT_DEPRECATED VIDEOPORT_API ULONG VideoPortGetBytesUsed(
[in] IN PVOID HwDeviceExtension,
[in] IN PDMA pDma
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortGetBytesUsed function is obsolete in Windows 2000 and later.
VideoPortGetBytesUsed determines the size, in bytes, of the buffer associated with a DMA handle.
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.
VideoPortGetBytesUsed always returns zero.
See Bus-Master DMA in Video Miniport Drivers for information about packet-based and common-buffer DMA transfers.