Compartilhar via


CvLeaveSpan 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

Marks the end of span.

Syntax

HRESULT CvLeaveSpan(  
   _In_ PCV_SPAN pSpan  
);  

Parameters

pSpan
Span object returned by previous call to CvEnterSpan*. Cannot be NULL.

Return Value

S_OK when the message is successfully written. 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