TraceLoggingProviderEnabled function (traceloggingprovider.h)

Indicates whether any sessions have subscribed to the provider.

Syntax

TLG_PFORCEINLINE BOOLEAN TraceLoggingProviderEnabled(
  TraceLoggingHProvider hProvider,
  UCHAR                 eventLevel,
  ULONGLONG             eventKeyword
);

Parameters

hProvider

The handle to the provider to check.

eventLevel

The event level that you want to check. An event level of 0 indicates any events.

eventKeyword

The keyword that you want to check. A keyword of 0 indicates no specific keywords.

Return value

Returns TRUE if any session has subscribed to the handler matching the event criteria; FALSE otherwise.

Requirements

   
Header traceloggingprovider.h