// wdm.h
typedef union _PCW_CALLBACK_INFORMATION {
PCW_COUNTER_INFORMATION AddCounter;
PCW_COUNTER_INFORMATION RemoveCounter;
PCW_MASK_INFORMATION EnumerateInstances;
PCW_MASK_INFORMATION CollectData;
} PCW_CALLBACK_INFORMATION, *PPCW_CALLBACK_INFORMATION;
View the official Windows Driver Kit DDI referenceNo description available.
The PCW_CALLBACK_INFORMATION union contains details for a notification sent by the system to a provider-defined PCW_CALLBACK function. The system passes a pointer to this union in the Info parameter of the callback. The active field of the union is determined by the value of the Type parameter of the callback.
AddCounterA PCW_COUNTER_INFORMATION structure that contains details for a PcwCallbackAddCounter notification.
RemoveCounterA PCW_COUNTER_INFORMATION structure that contains details for a PcwCallbackRemoveCounter notification.
EnumerateInstancesA PCW_MASK_INFORMATION structure that contains details for a PcwCallbackEnumerateInstances notification.
CollectDataA PCW_MASK_INFORMATION structure that contains details for a PcwCallbackCollectData notification.
PCW_CALLBACK callback function
_PCW_COUNTER_INFORMATION structure
_PCW_MASK_INFORMATION structure