# SIMCONNECT_RECV_EVENT_FILENAME The **SIMCONNECT\_RECV\_EVENT\_FILENAME** structure is used to return a filename and an event ID to the client.   ##### Syntax ``` cpp struct SIMCONNECT_RECV_EVENT_FILENAME : SIMCONNECT_RECV_EVENT { char szFileName[MAX_PATH]; DWORD dwFlags; }; ```   ##### Members {{< table-wrapper >}} | Member | Description | |------------------------|------------------------| | `szFileName[MAX_PATH]` | The returned filename. | | `dwFlags` | Reserved, should be 0. | {{< /table-wrapper >}}   ##### Remarks   This structure inherits the `SIMCONNECT_RECV_EVENT` structure, and is used to attach a filename to the returned event. When the `SIMCONNECT_RECV` structure `dwID` parameter is set to [`SIMCONNECT_RECV_EVENT_FILENAME`](simconnect-recv-event-filename/), this structure is returned.