Platform SDK: DirectX |
The IDirectMusicSegmentState::GetSeek method retrieves the current seek pointer in the segment state. This is the value that is passed in the mtStart parameter of IDirectMusicTrack::Play the next time that method is called. It does not take into account looping and repeating; if the entire segment state repeats to the beginning, the seek pointer is reset to 0.
HRESULT GetSeek( MUSIC_TIME* pmtSeek );
If the method succeeds, the return value is S_OK.
If the method fails, the return value can be E_POINTER.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dmusici.h.