RtGVCloseReceiveStream

RtGVCloseReceiveStream closes the receive stream associated with the specified camera.  Frames will no longer be received from the camera, even if it continues to send them.

Syntax

BOOL RtGVCloseReceiveStream(
	HANDLE cameraHandle
);

Parameters

cameraHandle

A handle to the camera whose corresponding receive stream will 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

See Also:

RtGVStartReceiveStream