CvCreateMarkerSeries Function

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Creates marker series for a given provider.

Syntax

_Check_return_ HRESULT CvCreateMarkerSeriesW(  
    _In_ PCV_PROVIDER  pProvider,  
    _In_ LPCWSTR pSeriesName,  
    _Out_ PCV_MARKERSERIES* ppMarkerSeries);  
  
_Check_return_ HRESULT CvCreateMarkerSeriesA(  
    _In_ PCV_PROVIDER  pProvider,  
    _In_ LPCSTR pSeriesName,  
    _Out_ PCV_MARKERSERIES* ppMarkerSeries);  

Parameters

pProvider
Provider object previously initialized by CvInitProvider. Cannot be NULL.

pSeriesName
Marker series name. Cannot be NULL but empty string is allowed.

ppMarkerSeries
Address of an output variable which will store marker series context. Cannot be NULL.

Return Value

S_OK when marker series is successfully created or error code in case there were any errors. Use SUCCEEDED/FAILED macros to check for error condition.

Requirements

Header: cvmarkers.h

Unicode: CvCreateMarkerSeriesW

ANSI: CvCreateMarkerSeriesA

See Also

C++ Library Reference