| title | ms.custom | ms.date | ms.technology | ms.topic | f1_keywords | helpviewer_keywords | ms.assetid | author | ms.author | manager | ms.workload | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CvIsEnabled Function | Microsoft Docs |
11/04/2016 |
vs-ide-debug |
conceptual |
|
|
2e4fea6d-758d-4150-8744-6102a1d58c1c |
mikejo5000 |
mikejo |
douge |
|
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