RtGVCloseCameraStream

RtGVCloseCameraStream stops a camera from sending images.

Syntax

BOOL RtGVCloseCameraStream(
	HANDLE cameraHandle
);

Parameters

cameraHandle

A handle to the camera you want to stop sending frames.

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 4.1 Vision SDK

Header

RtGVApi.h

Library

RtGigEVision.lib

See Also:

RtGVStartCameraStream