![]() |
| Previous | Next |
The GetMarkerCount method returns the number of markers currently in the header section of the Windows Media file.
Syntax
HRESULT GetMarkerCount(
WORD* pcMarkers
);
Parameters
pcMarkers
[out] Pointer to a count of markers.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
| Return code | Meaning |
| NS_E_INVALID_STATE | The writer is not in a configurable state. |
| E_UNEXPECTED | The method failed for an unspecified reason. |
See Also
| Previous | Next |