#ifndef HIK_VISION_GUIDANCE_H #define HIK_VISION_GUIDANCE_H #include #if defined(_WIN32) # define HVG_CALL __cdecl #else # define HVG_CALL #endif #define HVG_ABI_VERSION 1 #define HVG_RESPONSE_CAPACITY (1024u * 1024u) typedef void *HVG_Handle; enum HVG_Status { HVG_OK = 0, HVG_INVALID_ARGUMENT = 1, HVG_BUFFER_TOO_SMALL = 2, HVG_INVALID_HANDLE = 3, HVG_BUSY = 4, HVG_WRONG_THREAD = 5, HVG_CONFIG_ERROR = 6, HVG_DEVICE_ERROR = 7, HVG_NO_TARGET = 8, HVG_TIMEOUT = 9, HVG_CANCELLED = 10, HVG_NOT_READY = 11, HVG_IO_ERROR = 12, HVG_PROTOCOL_ERROR = 13, HVG_DISTANCE_UNKNOWN = 14, HVG_WRITE_OUTCOME_UNKNOWN = 15, HVG_INTERNAL_ERROR = 100 }; typedef int32_t (HVG_CALL *HVG_Function)(HVG_Handle, const char *, char *, uint32_t, uint32_t *); typedef int32_t (HVG_CALL *HVG_InitializeFunction)(const char *, HVG_Handle *, char *, uint32_t, uint32_t *); #endif // HIK_VISION_GUIDANCE_H