Export (0) Print
Expand All

EventDataDescCreate macro

Sets the values of an event data descriptor.

Syntax


void EventDataDescCreate(
  [out]  PEVENT_DATA_DESCRIPTOR EventDataDescriptor,
  [in]   const PVOID DataPtr,
  [in]   ULONG DataSize
);

Parameters

EventDataDescriptor [out]

The data descriptor whose member values are set to those of the remaining parameters. For details, see EVENT_DATA_DESCRIPTOR.

DataPtr [in]

A pointer to the event data used to set the Ptr member of EVENT_DATA_DESCRIPTOR.

If the event data's type is a NULL-terminated string, the DataPtr parameter must not be NULL.

If the event data's type is a string whose size is described by some other field in the event, the DataPtr parameter may be NULL.

DataSize [in]

The size of the event data. The value is used to set the Size member of EVENT_DATA_DESCRIPTOR.

Return value

This macro does not return a value.

Remarks

This is a convenience macro for setting the members of the EVENT_DATA_DESCRIPTOR structure.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Evntprov.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft