# Working with H.324M events

The host application must submit all events received from Natural Access to the H.324M Middleware by invoking h324SubmitEvent. The Middleware processes these events, and then returns them to the application when relevant.

The Middleware can either consume or not consume each event submitted to it. If an event is:

- Consumed, the application continues to wait for additional Natural Access events.

- Not consumed, it is an event for the application, which should process it normally.

If an unconsumed event has an attached buffer, the application needs to free the buffer using either ctaFreeBuffer, or mspReleaseBuffer as appropriate. The event size field defines the size of the buffer in bytes.

For more information, see h324SubmitEvent and the Natural Access Developer's Reference Manual.