PCW_COUNTER_INFORMATION structure (wdm.h)
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.
Syntax
typedef struct _PCW_COUNTER_INFORMATION {
ULONG64 CounterMask;
PCUNICODE_STRING InstanceMask;
} PCW_COUNTER_INFORMATION, *PPCW_COUNTER_INFORMATION;
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 7 and later versions of Windows. |
Header | wdm.h (include Wdm.h, Ntddk.h) |