RtgvIsGEVStatusCode

RtgvIsGEVStatusCode determines whether the given error code is a GigE Vision (GEV) Status Code sent by a camera.

Syntax

Copy
BOOL RtgvIsGEVStatusCode(
    [in]    DWORD errorCode 
);

Parameters

[in] errorCode

The error code examined to see whether it is a GEV Status Code.

Return Values

If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code.

Remarks

This function will fail if it is called before RtgvInitialize and RtgvInitCameraControl.

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: