# SimConnect_UnsubscribeToFlowEvent The **SimConnect\_UnsubscribeToFlowEvent** function is used to request that notifications are no longer received for the flow event. - This API is available through Wasm, Javascript and through SimConnect. Even if SimConnect is accessible in Wasm, we strongly advise you to use the following functions than the ones provided by SimConnect.   You can find a sample project to use as a reference when using the Flow API here: - [FlowAircraft](../../../../samples-tutorials/samples/simobjects-aircraft/modularaircraft/flowaircraft/)   ##### Syntax ``` cpp HRESULT SimConnect_UnsubscribeToFlowEvent( HANDLE hSimConnect, ); ```   ##### Parameters {{< table-wrapper >}} | Parameter | Description | Type | |---------------|--------------------------------|---------| | *hSimConnect* | Handle to a SimConnect object. | 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 >}}