| title | CvIsEnabled Function | Microsoft Docs | ||
|---|---|---|---|
| description | See reference information for the Concurrency Visualizer SDK function CvIsEnabled (C library). | ||
| ms.date | 11/04/2016 | ||
| ms.topic | reference | ||
| f1_keywords |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | 2e4fea6d-758d-4150-8744-6102a1d58c1c | ||
| author | mikejo5000 | ||
| ms.author | mikejo | ||
| manager | jmartens | ||
| ms.technology | vs-ide-debug | ||
| ms.workload |
|
[!INCLUDE Visual Studio] Determines whether any session has enabled the specified ETW provider.
HRESULT CvIsEnabled(
_In_ PCV_PROVIDER pProvider
);
HRESULT CvIsEnabledEx(
_In_ PCV_PROVIDER pProvider,
_In_ CV_IMPORTANCE level,
_In_ int category
);category
Category.
level
Importance level.
pProvider
Valid provider object. Cannot be NULL.
S_OK if provider is currently enabled. S_FALSE if provider is currently disabled. Error code in case there were any errors. Use FAILED macro to check for error condition and then check for S_OK/S_FALSE.
Header: cvmarkers.h