tagWNODE_EVENT_REFERENCE structure

The WNODE_EVENT_REFERENCE structure contains information that WMI can use to query for an event that exceeds the event size limit set in the registry.

Syntax

typedef struct tagWNODE_EVENT_REFERENCE {
  _WNODE_HEADER WnodeHeader;
  struct        _WNODE_HEADER;
  GUID          TargetGuid;
  ULONG         TargetDataBlockSize;
  union {
    ULONG TargetInstanceIndex;
    WCHAR TargetInstanceName[];
  } DUMMYUNIONNAME;
} *PWNODE_EVENT_REFERENCE, WNODE_EVENT_REFERENCE;

Members

WnodeHeader

Is a WNODE_HEADER structure that contains information common to all WNODE_XXX structures, such as the buffer size, the provider ID, the GUID that represents a data block associated with a request, and flags that provide information about the WNODE_XXX data being passed or returned.

TargetGuid

Indicates the GUID that represents the event to query.

TargetDataBlockSize

Indicates the size of the event.

Remarks

If the amount of data for an event exceeds the maximum size set in the registry, a driver can generate a WNODE_EVENT_REFERENCE that specifies a WNODE_EVENT_ITEM that WMI can query to obtain the event. For more information about defining and generating WMI events, see Implementing WMI.

The ProviderId member of the WNODE_HEADER structure for use in a WNODE_EVENT_REFERENCE structure should be initialized using IoWMIDeviceObjectToProviderId.

Requirements

   
Header wmistr.h (include Wmistr.h)

See Also

IoWMIDeviceObjectToProviderId

WNODE_EVENT_ITEM

WNODE_HEADER