// 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 referenceNo description available.
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.
CounterMaskA bitmask. If the x-th bit is set, counter with ID x is included in the query.
InstanceMaskA 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.
PCW_CALLBACK callback function
_PCW_CALLBACK_INFORMATION structure