# SimConnect_EnumerateInputEvents The **SimConnect\_EnumerateInputEvents** function is used to retrieve a paginated list of all available InputEvents for the current aircraft along with their associated hash (CRC based).   ##### Syntax ``` cpp HRESULT SimConnect_EnumerateInputEvents( HANDLE hSimConnect, SIMCONNECT_DATA_REQUEST_ID RequestID ) ```   ##### Parameters {{< table-wrapper >}} | Parameter | Description | Type | |---------------|---------------------------------------------------------------------|---------| | `hSimConnect` | Handle to a SimConnect object. | Integer | | `RequestID` | The ID that will identify the current request in the response event | Integer | {{< /table-wrapper >}}   ##### Return Values The function returns an **HRESULT**. Possible values include, but are not limited to, those in the following table. {{< table-wrapper >}} | Return value | Description | |--------------|-------------------------| | S\_OK | The function succeeded. | | E\_FAIL | The function failed. | {{< /table-wrapper >}}   ##### Remarks With this function you can request data on the input events currently available for the current SimObject. The function will trigger one or more [`SIMCONNECT_RECV_ENUMERATE_INPUT_EVENTS`](../structures-and-enumerations/simconnect-recv-enumerate-input-events/) responses, and in this response struct you will find the `Data` member, which has a list of [`SIMCONNECT_INPUT_EVENT_DESCRIPTOR`](../structures-and-enumerations/simconnect-input-event-descriptor/) structs, where each struct represents an input event, for example: ``` codeblock { INPUT_EVENT_NAME_1; hash_1 } { INPUT_EVENT_NAME_2; hash_2 } { INPUT_EVENT_NAME_3; hash_3 } // etc... ```