![]() | ![]() | ![]() | GPhoto2-Port API Reference Manual | ![]() |
---|
#define GP_OK #define GP_ERROR_NOT_SUPPORTED #define GP_ERROR_BAD_PARAMETERS #define GP_ERROR_NO_MEMORY #define GP_ERROR_TIMEOUT #define GP_ERROR_LIBRARY #define GP_ERROR_IO #define GP_ERROR_IO_INIT #define GP_ERROR_IO_LOCK #define GP_ERROR_IO_READ #define GP_ERROR_IO_SERIAL_SPEED #define GP_ERROR_IO_SUPPORTED_SERIAL #define GP_ERROR_IO_SUPPORTED_USB #define GP_ERROR_IO_UPDATE #define GP_ERROR_IO_USB_CLAIM #define GP_ERROR_IO_USB_CLEAR_HALT #define GP_ERROR_IO_USB_FIND #define GP_ERROR_IO_WRITE #define GP_ERROR_UNKNOWN_PORT const char* gp_port_result_as_string (int result);
const char* gp_port_result_as_string (int result);
Returns a string representation of a gphoto2 error code. Those are static error descriptions. You can get dynamic ones that explain the error more in depth using gp_port_get_error.
result : | a gphoto2 error code |
Returns : | a string representation of a gphoto2 error code |
<<< GPhoto2-Port-Log | GPhoto2-Port-Info-List >>> |