SimConnect_CameraEnableFlag

The SimConnect_CameraEnableFlag function can be used to enable camera specific features, but only if the camera has been correctly acquired.

 

Syntax
SimConnect_CameraDisableFlag(
    HANDLE hSimConnect,
    DWORD Flag
    );

 

Parameters
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 enabled. Bitmask

 

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.

 

Example
SimConnect_CameraEnableFlag(hSimConnect, SIMCONNECT_CAMERA_FLAG_INTERACTION);

 

Remarks

This function

 

0/255