Bewerken

Delen via


IMiniportStreamAudioEngineNode::GetStreamPresentationPosition method (portcls.h)

Gets the current cursor position in the audio data stream that is being rendered to the endpoint.

Syntax

NTSTATUS GetStreamPresentationPosition(
  [out] KSAUDIO_PRESENTATION_POSITION *pPresentationPosition
);

Parameters

[out] pPresentationPosition

A KSAUDIO_PRESENTATION_POSITION structure that represents the current cursor position in the audio data stream.

Return value

GetStreamPresentationPosition 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

KSAUDIO_PRESENTATION_POSITION