Microsoft DirectX 9.0 |
The GetStartTime method retrieves the performance time at which the segment started playing.
Syntax
HRESULT GetStartTime(
MUSIC_TIME* pmtStart
);
Parameters
pmtStart
Address of a variable that receives the music-time offset stored in this segment state.
Return Values
If the method succeeds, the return value is S_OK.
If it fails, the method can return E_POINTER.
Remarks
The time retrieved by this method is the resolved play time within the performance where the segment start time was cued. For more information, see Segment Timing.
Requirements
Header: Declared in dmusici.h.
See Also