Microsoft DirectX 8.1 (C++) |
The GetSeek method retrieves the seek pointer in the segment state. This is the value that is passed in the mtStart parameter of IDirectMusicTrack8::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.
Syntax
HRESULT GetSeek(
MUSIC_TIME* pmtSeek
);
Parameters
pmtSeek
Address of a variable that receives the seek pointer.
Return Values
If the method succeeds, the return value is S_OK.
If the method fails, the return value can be E_POINTER.
Requirements
Header: Declared in dmusici.h.
See Also