Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
The get_currentPositionString method retrieves the current position in the media item as a BSTR formatted as HH:MM:SS (hours, minutes, and seconds).
Syntax
HRESULT get_currentPositionString( BSTR* pbstrCurrentPosition );
Parameters
- pbstrCurrentPosition
[out] Pointer to a BSTR containing the current position.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
S_OK |
The method succeeded. |
Remarks
If the media item is less than an hour long, the current position is formatted as MM:SS (minutes and seconds).
The maximum size for the string would be formatted as HHH:MM:SS if the time value is large enough.