// ksmedia.h
typedef struct {
LARGE_INTEGER TimerFrequency;
LARGE_INTEGER TimeStamp1;
KSAUDIO_POSITION Position;
LARGE_INTEGER TimeStamp2;
} KSAUDIO_POSITIONEX, *PKSAUDIO_POSITIONEX;
View the official Windows Driver Kit DDI referenceNo description available.
The KSAUDIO_POSITIONEX structure specifies the stream position and the associated timestamp information for a kernel streaming (KS)-based audio driver.
TimerFrequencySpecifies the number of ticks per second for the timer that produces the timestamps.
TimeStamp1Specifies the timestamp that is taken immediately prior to the acquisition of the position information.
PositionSpecifies the position of the read cursor and the write cursor in the audio buffer of an audio stream.
TimeStamp2Specifies the timestamp that is taken immediately after the acquisition of the position information.
A KS-based audio driver can use the KSAUDIO_POSITIONEX structure along with the KSPROPERTY_AUDIO_POSITIONEX property to return a stream position and a timestamp.