RtgvCloseStream

RtgvCloseStream combines the functionality of both RtgvCloseCameraStream and RtgvCloseReceiveStream.

Syntax

Copy
BOOL RtgvCloseStream(
    [in]    HANDLE cameraHandle
);

Parameters

[in] cameraHandle

A handle to the camera whose stream should be closed.

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: