EventID ID of newly created event.
Creates a new event.
The event may be passed to IDeviceContext.ReadBuffer and IDeviceContext.WriteBuffer to track when the corresponding read or write finishes. Once the event is no longer needed, it should be destroyed using IDeviceContext.DestroyEvent.