CvInitProvider 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
Initializes marker provider. Has to be called before any other Concurrency Visualizer SDK functions.
Syntax
HRESULT CvInitProvider(
_In_ const GUID* pGuid,
_Out_ PCV_PROVIDER* ppProvider
);
Parameters
pGuid
Provider guid. Cannot be NULL.
ppProvider
Address of an output variable which will store provider context. Cannot be NULL.
Return Value
S_OK when provider is successfully initialized or error code in case there were any errors. Use SUCCEEDED/FAILED macros to check for error condition.
Requirements
Header: cvmarkers.h