Important The XStudio native C nano-COM APIs have been deprecated in favor of the KStudio native C nano-COM APIs.
Seeks to a new position in the playback.
public:
HRESULT Seek(
UINT64 tick
)
tick
Type: UINT64
[in] Tick count of the position to seek to. To clear the seek position, use XSTUDIO_TICK_INVALID.
Type: HRESULT
S_OK if successful; an error code otherwise.
Call GetTickRange to determine the tick count range of the playback.
Seek can only be called while playback is stopped or paused.
After seeking to a new position, call Start or Resume to begin play at that position.
Note that Start and Resume clear the seek position after seeking to it, so that subsequent calls to either will behave as expected.
Header: Declared in xstudio.h.
Library: Use xstudioclient.lib (console) or xstudioservice.lib (desktop).