Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
);
Parameters
category
Category.level
Importance level.pProvider
Valid provider object. Cannot be NULL.
Return Value
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.
Requirements
Header: cvmarkers.h