The SimConnect_SubscribeToCameraStatusUpdate function is used to receive a SIMCONNECT_RECV_CAMERA_STATUS message whenever the simulation updates the camera status (can be used instead of calling SimConnect_CameraGetStatus every frame).

Syntax
HRESULT SimConnect_SubscribeToCameraStatusUpdate(
    HANDLE hSimConnect
    );
Parameters
ParameterDescriptionType
hSimConnectHandle to a SimConnect object.Integer
Return Values

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

Return valueDescription
S_OKThe function succeeded.
E_FAILThe function failed.
Example
SimConnect_SubscribeToCameraStatusUpdate(hSimConnect);
Remarks

N/A

0/255