2.2.2.1 EVENT_BUFFER

The EVENT_BUFFER structure defines a data structure for transferring a generic payload. The LREC protocol uses this structure to pass event records in the RpcNetEventReceiveData (section 3.1.4.2.2) method.

 typedef struct _EVENT_BUFFER {
     unsigned long BufferLength;
     [size_is(BufferLength)] byte* Buffer;
 } EVENT_BUFFER;

BufferLength: This property specifies the length, in bytes, of the data stored in the Buffer field.

Buffer: This property specifies a collection of one or more NET_EVENT_DATA_HEADER (section 2.3.2.2) structures each followed by an event payload.