RtGVCloseStream
RtGVCloseStream combines the functionality of both RtGVCloseCameraStream and RtGVCloseReceiveStream.
Syntax
BOOL RtGVCloseStream( HANDLE cameraHandle );
Parameters
cameraHandle
A handle to the camera whose stream should be closed.
Return Values
Returns TRUE if the function succeeds, FALSE if the function fails. Call GetLastError for extended error information.
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 of the cameras found on the network, along with each of their handles.
Requirements
Minimum Supported Version | RTX64 3.7 Vision SDK |
Header |
RtGVApi.h |
Library |
RtGigEVision.lib |