Skip to content

genapic/GenApiCError.h#

Error codes for GenApi C bindings.

Defines#

Name
GENAPI_E_FAIL
GENAPI_E_INDEX_ERROR
GENAPI_E_INSUFFICIENT_BUFFER
GENAPI_E_INVALID_ARG
GENAPI_E_INVALID_FILEHANDLE
GENAPI_E_INVALID_NODECALLBACKHANDLE
GENAPI_E_INVALID_NODEHANDLE
GENAPI_E_INVALID_NODEMAPHANDLE
GENAPI_E_LIMITS_EXCEEDED
GENAPI_E_LOGICAL_ERROR
GENAPI_E_NODE_NOT_FOUND
GENAPI_E_OBJECT_ILLEGAL_STATE
GENAPI_E_OK
GENAPI_E_PROPERTY_ERROR
GENAPI_E_RESULT_RANGE_EXCEEDED
GENAPI_E_TIMEOUT
GENAPI_E_TYPE_ERROR
GENAPIC_RESULT

Macros Documentation#

define GENAPI_E_FAIL#

#define GENAPI_E_FAIL ((GENAPIC_RESULT) 0xC2000001)

Unspecified error occurred. Call GenApiGetLastErrorDetail() for more information about the error.

define GENAPI_E_INDEX_ERROR#

#define GENAPI_E_INDEX_ERROR ((GENAPIC_RESULT) 0xC200000C)

An index is out of range.

define GENAPI_E_INSUFFICIENT_BUFFER#

#define GENAPI_E_INSUFFICIENT_BUFFER ((GENAPIC_RESULT) 0xC2000003)

Buffer size passed is less than required.

define GENAPI_E_INVALID_ARG#

#define GENAPI_E_INVALID_ARG ((GENAPIC_RESULT) 0xC2000002)

Function called with invalid argument.

define GENAPI_E_INVALID_FILEHANDLE#

#define GENAPI_E_INVALID_FILEHANDLE ((GENAPIC_RESULT) 0xC2000011)

An invalid file handle has been passed.

define GENAPI_E_INVALID_NODECALLBACKHANDLE#

#define GENAPI_E_INVALID_NODECALLBACKHANDLE ((GENAPIC_RESULT) 0xC200000F)

An invalid callback handle has been passed.

define GENAPI_E_INVALID_NODEHANDLE#

#define GENAPI_E_INVALID_NODEHANDLE ((GENAPIC_RESULT) 0xC2000006)

An invalid node handle has been passed.

define GENAPI_E_INVALID_NODEMAPHANDLE#

#define GENAPI_E_INVALID_NODEMAPHANDLE ((GENAPIC_RESULT) 0xC2000004)

An invalid node map handle has been passed.

define GENAPI_E_LIMITS_EXCEEDED#

#define GENAPI_E_LIMITS_EXCEEDED ((GENAPIC_RESULT) 0xC2000008)

The value exceeds the valid range.

define GENAPI_E_LOGICAL_ERROR#

#define GENAPI_E_LOGICAL_ERROR ((GENAPIC_RESULT) 0xC2000010)

Program logic error. Call GenApiGetLastErrorDetail() for more information about the error.

define GENAPI_E_NODE_NOT_FOUND#

#define GENAPI_E_NODE_NOT_FOUND ((GENAPIC_RESULT) 0xC2000005)

Specified node not found in node map.

define GENAPI_E_OBJECT_ILLEGAL_STATE#

#define GENAPI_E_OBJECT_ILLEGAL_STATE ((GENAPIC_RESULT) 0xC200000E)

Object state illegal for operation. Call GenApiGetLastErrorDetail() for more information about the error.

define GENAPI_E_OK#

#define GENAPI_E_OK ((GENAPIC_RESULT) 0)

Operation completed successfully.

define GENAPI_E_PROPERTY_ERROR#

#define GENAPI_E_PROPERTY_ERROR ((GENAPIC_RESULT) 0xC2000009)

Generic GenICam property error occurred. Call GenApiGetLastErrorDetail() for more information about the error.

define GENAPI_E_RESULT_RANGE_EXCEEDED#

#define GENAPI_E_RESULT_RANGE_EXCEEDED ((GENAPIC_RESULT) 0xC2000007)

A 64 bit result will be truncated if returned as a 32 bit value.

define GENAPI_E_TIMEOUT#

#define GENAPI_E_TIMEOUT ((GENAPIC_RESULT) 0xC200000A)

Timeout expired.

define GENAPI_E_TYPE_ERROR#

#define GENAPI_E_TYPE_ERROR ((GENAPIC_RESULT) 0xC200000B)

Expression has wrong type.

define GENAPIC_RESULT#

#define GENAPIC_RESULT HRESULT