# SimConnect_CameraDisableFlag The **SimConnect\_CameraDisableFlag** function can be used to disable camera specific features, but only if the camera has been correctly acquired.   ##### Syntax ``` cpp HRESULT SimConnect_CameraDisableFlag( HANDLE hSimConnect, DWORD Flag ); ```   ##### Parameters {{< table-wrapper >}} | Parameter | Description | Type | |---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------| | *hSimConnect* | Handle to a SimConnect object. | Integer | | *Flag* | This is one or more of the `SIMCONNECT_CAMERA_FLAG` enum members, merged using bitwise "or" `|` to create a bitmask which flags specific camera options as disabled. | Bitmask | {{< /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 >}}   ##### Example ``` cpp SimConnect_CameraDisableFlag(hSimConnect, SIMCONNECT_CAMERA_FLAG_INTERACTION); ```   ##### Remarks Note that if the add-on camera has not been acquired previously, then a `SIMCONNECT_EXCEPTION_CAMERA_API` exception will be sent (see `SIMCONNECT_EXCEPTION` for more information).