Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MOF_FIELD structure

You may use the MOF_FIELD structures to append event data to the EVENT_TRACE_HEADER or EVENT_INSTANCE_HEADER structures.

Syntax


typedef struct _MOF_FIELD {
  ULONG64 DataPtr;
  ULONG   Length;
  ULONG   DataType;
} MOF_FIELD, *PMOF_FIELD;

Members

DataPtr

Pointer to a event data item.

Length

Length of the item pointed to by DataPtr, in bytes.

DataType

Reserved.

Remarks

Be sure to initialize the memory for this structure to zero before setting any members.

If you use MOF_FIELD structures, you must set the WNODE_FLAG_USE_MOF_PTR flag in the Flags member of the EVENT_TRACE_HEADER or EVENT_INSTANCE_HEADER structure.

The event tracing session automatically dereferences MOF_FIELD data pointers before passing the data to event trace consumers using EVENT_TRACE structures.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Evntrace.h

See also

EVENT_INSTANCE_HEADER
EVENT_TRACE
EVENT_TRACE_HEADER

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.