Share via


CvInitProvider Function

Initializes marker provider. Has to be called before any other Concurrency Visualizer SDK functions.

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

See Also

Concepts

C++ Library Reference