Windows Media Player 11 SDK IWMPMedia::getMarkerTime
Previous | Next |
IWMPMedia::getMarkerTime
The getMarkerTime method retrieves the time of the marker at the specified index.
Syntax
Parameters
MarkerNum
[in] long specifying the marker index.
pMarkerTime
[out] Pointer to a double that specifies the marker time.
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
This method returns NULL if the specified marker does not exist.
Some media items do not contain markers. Use get_markerCount to find out how many markers are in the current media item.
Marker index numbers start at 1.
Before calling this method, you must have read access to the library. For more information, see Library Access.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
Previous | Next |