The SimConnect_EnumerateInputEventParams function is used to retrieve a list of all parameters from an input event.


HRESULT SimConnect_EnumerateInputEvents(
    HANDLE hSimConnect,


Parameter Description Type
hSimConnect Handle to a SimConnect object. Integer
RequestID The ID that will identify the current request in the response event Integer


Return Values

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return value Description
S_OK The function succeeded.
E_FAIL The function failed.



This function generate a 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 ";".



The following basic example of use is from the DA62, for the AS1000_MID_COM_1_Mic_Position instrument, with the HashID "11675888408130357189":

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:

Hash = <Hash>;
Value = ";FLOAT64;char[256]"

Then you would use the SetInputEvent function as follow:

unsigned char byteValues[2048] = "";
// Create your value
value = "<myFloatValueInBytes><myStringValueInBytes>;"
m_simConnectObject.SetInputEvent(<Hash>, value);


See Also