IMiniportStreamAudioEngineNode::GetStreamLinearBufferPosition method (portcls.h)

Gets the number of bytes that the DMA has fetched from the audio buffer since the beginning of the stream.

Syntax

NTSTATUS GetStreamLinearBufferPosition(
  [out] ULONGLONG *pullLinearBufferPosition
);

Parameters

[out] pullLinearBufferPosition

The number of bytes that the DMA has fetched.

Return value

GetStreamLinearBufferPosition returns S_OK, if the call was successful. Otherwise, the method returns an appropriate error code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Universal
Header portcls.h

See also

IMiniportStreamAudioEngineNode