Windows Media Player 11 SDK IWMPMedia::getMarkerName
Previous | Next |
IWMPMedia::getMarkerName
The getMarkerName method retrieves the name of the marker at the specified index.
Syntax
Parameters
MarkerNum
[in] long specifying the marker index.
pbstrMarkerName
[out] Pointer to a BSTR containing the marker name.
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 |