PCW_CALLBACK_INFORMATION union (wdm.h)

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.

Syntax

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;

Members

AddCounter

A PCW_COUNTER_INFORMATION structure that contains details for a PcwCallbackAddCounter notification.

RemoveCounter

A PCW_COUNTER_INFORMATION structure that contains details for a PcwCallbackRemoveCounter notification.

EnumerateInstances

A PCW_MASK_INFORMATION structure that contains details for a PcwCallbackEnumerateInstances notification.

CollectData

A PCW_MASK_INFORMATION structure that contains details for a PcwCallbackCollectData notification.

Requirements

Requirement Value
Minimum supported client Available in Windows 7 and later versions of Windows.
Header wdm.h (include Wdm.h, Ntddk.h)

See also

PCW_CALLBACK callback function

_PCW_COUNTER_INFORMATION structure

_PCW_MASK_INFORMATION structure