Share via


CvReleaseProvider 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

Releases marker provider. Releasing the marker provider will not affect previously created marker series of this provider. Marker series have to be release separately by CvReleaseMarkerSeries call. Failure to release provider causes a memory leak.

Syntax

HRESULT CvReleaseProvider(  
   _In_ PCV_PROVIDER pProvider  
);  

Parameters

pProvider
Provider context. Cannot be NULL.

Return Value

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

Requirements

Header: cvmarkers.h

See Also

C++ Library Reference