SimConnect_SubscribeToCameraWorldLockerStatusUpdate
The SimConnect_SubscribeToCameraWorldLockerStatusUpdate function is used to receive a SIMCONNECT_RECV_CAMERA_WORLD_LOCKER_STATUS message whenever the simulation updates the camera status.
Syntax
HRESULT SimConnect_SubscribeToCameraWorldLockerStatusUpdate(
HANDLE hSimConnect
);
Parameters
| Parameter | Description | Type |
|---|---|---|
| hSimConnect | Handle 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 value | Description |
|---|---|
| S_OK | The function succeeded. |
| E_FAIL | The function failed. |
Example
SimConnect_SubscribeToCameraStatusUpdate(hSimConnect);
Remarks
N/A
0/255