metavr/virtualcamera/VirtualCamera.hMvrVirtualCameraStatus MvrVirtualCamera_getCameraId(MvrVirtualCameraHandle virtualCameraHandle, const char** cameraId)
virtualCameraHandle: MvrVirtualCameraHandle
MvrVirtualCamera instance handle to query the ID for.
cameraId: const char **
output pointer which will be set to valid 0-terminated camera ID if the query was successful. Returned pointer is guaranteed to be valid until MvrVirtualCamera_destroy and unsafe to use after that. Caller is responsible for creating a copy of the string if it needs to persist it beyond the lifetime of the MvrVirtualCamera object.
MvrVirtualCameraStatus
MVR_VIRTUAL_CAMERA_STATUS_OK if the query was successful and cameraId was set. MVR_VIRTUAL_CAMERA_STATUS_INVALID_ARGUMENT if camera or cameraId is NULL.