# SimConnect_EnumerateInputEventParams The **SimConnect\_EnumerateInputEventParams** function is used to retrieve a list of all parameters from an input event.   ##### Syntax ``` cpp HRESULT SimConnect_EnumerateInputEvents( HANDLE hSimConnect, SIMCONNECT_DATA_REQUEST_ID RequestID ) ```   ##### Parameters {{< table-wrapper >}} | Parameter | Description | Type | |---------------|---------------------------------------------------------------------|--------| | `hSimConnect` | Handle to a SimConnect object. | String | | `RequestID` | The ID that will identify the current request in the response event | | {{< /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 This function generate a [`SIMCONNECT_RECV_ENUMERATE_INPUT_EVENT_PARAMS`](../structures-and-enumerations/simconnect-recv-enumerate-input-event-params/) response where the Value member will contain a string. The string will contain a list of associated input event parameters separated by a semi-colon ";".   ##### Example The following basic example of use is from the DA62, for the `AS1000_MID_COM_1_Mic_Position` instrument, with the HashID "11675888408130357189": ``` cpp SIMCONNECT_RECV_ENUMERATE_INPUT_EVENT_PARAMS: { Hash = 11675888408130357189; Value = ";FLOAT64" } ``` If an instrument has two arguments (in this example a `FLOAT64` and a `STRING`) then you would have to do the following: ``` cpp SIMCONNECT_RECV_ENUMERATE_INPUT_EVENT_PARAMS: { Hash = ; Value = ";FLOAT64;char[256]" } ``` Then you would use the `SetInputEvent` function as follow: ``` cpp unsigned char byteValues[2048] = ""; // Create your value value = ";" m_simConnectObject.SetInputEvent(, value); ```