美文网首页
UVC错误码

UVC错误码

作者: 星_025f | 来源:发表于2022-07-31 10:57 被阅读0次
    typedef enum uvc_error {
        /** Success (no error) */
        UVC_SUCCESS = 0,
        /** Input/output error */
        UVC_ERROR_IO = -1,
        /** Invalid parameter */
        UVC_ERROR_INVALID_PARAM = -2,
        /** Access denied */
        UVC_ERROR_ACCESS = -3,
        /** No such device */
        UVC_ERROR_NO_DEVICE = -4,
        /** Entity not found */
        UVC_ERROR_NOT_FOUND = -5,
        /** Resource busy */
        UVC_ERROR_BUSY = -6,
        /** Operation timed out */
        UVC_ERROR_TIMEOUT = -7,
        /** Overflow */
        UVC_ERROR_OVERFLOW = -8,
        /** Pipe error */
        UVC_ERROR_PIPE = -9,
        /** System call interrupted */
        UVC_ERROR_INTERRUPTED = -10,
        /** Insufficient memory */
        UVC_ERROR_NO_MEM = -11,
        /** Operation not supported */
        UVC_ERROR_NOT_SUPPORTED = -12,
        /** Device is not UVC-compliant */
        UVC_ERROR_INVALID_DEVICE = -50,
        /** Mode not supported */
        UVC_ERROR_INVALID_MODE = -51,
        /** Resource has a callback (can't use polling and async) */
        UVC_ERROR_CALLBACK_EXISTS = -52,
        /** Undefined error */
        UVC_ERROR_OTHER = -99
    } uvc_error_t;

    相关文章

      网友评论

          本文标题:UVC错误码

          本文链接:https://www.haomeiwen.com/subject/rvfrwrtx.html