2. Constants
Constants used in the provided SDK are defined in the “LabelPrinterSDK_Defines.h” file.
2-1 Result Codes
Results Codes are the values returned from various methods, which indicate error
conditions of the corresponding method.
typedef enum{
_SDK_RESULT_SUCCESS = 0x0000,
_SDK_RESULT_FAIL = 0xF000,
_SDK_RESULT_FAIL_NOT_SUPPORT_FUNCTION,
_SDK_RESULT_FAIL_NO_OPEN ,
_SDK_RESULT_FAIL_OPEN_ALREADY ,
_SDK_RESULT_FAIL_NO_CONNECT ,
_SDK_RESULT_FAIL_CONNECT_ALREADY ,
_SDK_RESULT_FAIL_WRITE_ERROR ,
_SDK_RESULT_FAIL_READ_ERROR ,
_SDK_RESULT_FAIL_INVALID_PARAMETER ,
}__SDK_RESULT_CODES_;
Description of each constant is as follows.