RtgvCloseCameraStream
RtgvCloseCameraStream stops a camera from sending images.
Syntax
BOOL RtgvCloseCameraStream(
[in] HANDLE cameraHandle
);
Parameters
[in] cameraHandle
A handle to the camera you want to stop sending frames.
Return Values
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code.
Remarks
If there is no open stream when this function is called, the function will fail.
This function cannot be called before calling RtgvInitialize.
To find the camera to query, call RtgvInitialize and then call RtgvEnumerateCameras to get an RTGV_CAMERA_INFO array describing each camera found on the network, along with its handles.
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtgvApi.h |
RtgvApi.lib |
See Also: