PCW_COUNTER_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

typedef struct _PCW_COUNTER_INFORMATION {
  ULONG64          CounterMask;
  PCUNICODE_STRING InstanceMask;
} PCW_COUNTER_INFORMATION, *PPCW_COUNTER_INFORMATION;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdm-_pcw_counter_information)

PCW_COUNTER_INFORMATION structure

Description

The PCW_COUNTER_INFORMATION structure is the type of the AddCounter and RemoveCounter members of the PCW_CALLBACK_INFORMATION union. It contains details of a notification sent by the system to a provider-defined PCW_CALLBACK function.

Members

CounterMask

A bitmask. If the x-th bit is set, counter with ID x is included in the query.

InstanceMask

A Unicode string that contains a wildcard specification of instance names to be matched in the query. If all instance names should match the query, the InstanceMask field will be "*". Otherwise, "*" and "?" have the usual wildcard meaning of "zero-or-more-characters" and "any-character" respectively. Note that instance name matching is not case-sensitive.

See also

PCW_CALLBACK callback function

_PCW_CALLBACK_INFORMATION structure