⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 com_error.h

📁 基于widcomm的蓝牙传输功能程序
💻 H
📖 第 1 页 / 共 2 页
字号:
    WBT_FTP_ERR_NO_SERVICE,          /* could not find the specified FTP server */
    WBT_FTP_ERR_DISCONNECT,          /* connection lost */
    WBT_FTP_ERR_READ,                /* read error */
    WBT_FTP_ERR_WRITE,               /* write error */
    WBT_FTP_ERR_MEM,                 /* could not allocate memory */
    WBT_FTP_ERR_OBEX_AUTH,           /* OBEX Authentication required */
    WBT_FTP_ERR_DENIED,              /* request could not be honored */
//    WBT_FTP_ERR_BAD_LOCAL_FOLDER,    /* bad local folder */
    WBT_FTP_ERR_CONNECT,             /* error establishing connection */
    WBT_FTP_ERR_PERM,                /* incorrect permissions */
    WBT_FTP_ERR_SERVER_INTERNAL,     /* server error */
    WBT_FTP_ERR_NO_SERVER_SUPPORT,   /* server does not support the operation */
    WBT_FTP_ERR_NOT_INITIALIZED,     /* not initialized */
    WBT_FTP_ERR_PARAM,               /* bad parameter */
    WBT_FTP_ERR_PERMISSIONS,         /* incorrect file permissions */
	WBT_FTP_ERR_FS_RESOURCES,        /* out of file system resources (handles, disk space, etc) */
	WBT_FTP_ERR_SHARING,             /* file sharing violation */
    WBT_FTP_ERR_TIMEOUT,             /* timeout */
    WBT_FTP_ERR_PATH_TOO_BIG,

    /* OPP error codes returned from COM server */
    WBT_OPP_ERR_BASE = 0x81000120,

    WBT_OPP_ERR_BAD_ADDR,             /* bad BD_ADDR */
    WBT_OPP_ERR_HANDLE,               /* bad handle */
    WBT_OPP_ERR_NOT_UNIQUE,           /* specified device is not unique (i.e. multiple
                                      ** matching entries
                                      */
    WBT_OPP_ERR_NO_HANDLES,           /* reached session limit;  no handle available */
    WBT_OPP_ERR_BAD_STATE,            /* could not handle request in present state */
    WBT_OPP_ERR_EXISTS,               /* file exists */
    WBT_OPP_ERR_BAD_REQUEST,          /* invalid request */
    WBT_OPP_ERR_NOT_FOUND,            /* no such file */
    WBT_OPP_ERR_NO_SERVICE,           /* could not find the specified FTP server */
    WBT_OPP_ERR_DISCONNECT,           /* connection lost */
    WBT_OPP_ERR_READ,                 /* read error */
    WBT_OPP_ERR_WRITE,                /* write error */
    WBT_OPP_ERR_OBEX_AUTH,            /* OBEX Authentication required */
    WBT_OPP_ERR_DENIED,               /* request could not be honored */
    WBT_OPP_ERR_DATA_NOT_SUPPORTED,   /* server does not support the requested data */
    WBT_OPP_ERR_CONNECT,              /* error establishing connection */
    WBT_OPP_ERR_NOT_INITIALIZED,      /* not initialized */
    WBT_OPP_ERR_PARAM,                /* bad parameter */
	WBT_OPP_ERR_BAD_INBOX,            /* inbox is not valid */
	WBT_OPP_ERR_BAD_NAME,             /* bad name for object */
	WBT_OPP_ERR_PERMISSIONS,          /* prohibited by file permissions */
	WBT_OPP_ERR_SHARING,              /* file sharing violation */
	WBT_OPP_ERR_FS_RESOURCES,         /* out of file system resources (handles, disk space, etc) */
    WBT_OPP_ERR_NO_DATATYPES_ACCEPTED,/* No OPP datatypes are checked for acceptance in the cpanel */
   	WBT_OPP_ERR_PIM,                  /* problem with PIM */
    WBT_OPP_ERR_PARSE,                /* problem parsing object */
	WBT_OPP_ERR_TIMEOUT,
    WBT_OPP_ERR_PATH_TOO_BIG,

    /* SYNC error codes returned from COM server */
    WBT_SYNC_ERR_BASE = 0x81000160,

    WBT_SYNC_ERR_NO_HANDLES,		   /* no handle available */
	WBT_SYNC_ERR_HANDLE,			   /* bad handle */
	WBT_SYNC_ERR_NOT_INITIALIZED,      /* not initialized */
	WBT_SYNC_ERR_OBJECT_NOT_FOUND,	   /* an object to be deleted or modified was not there */
	WBT_SYNC_ERR_ALREADY_STARTED,	   /* sync is already started */
	WBT_SYNC_ERR_OPENING_FILE,		   /* couldn't open a file */
	WBT_SYNC_ERR_SERVICE_UNAVAILABLE,  /* the IrMC server was not available */
	WBT_SYNC_ERR_OBEX,				   /* general obex error */
	WBT_SYNC_ERR_OBEX_CLOSED,		   /* the obex session was lost */
	WBT_SYNC_ERR_OBEX_ABORTED,		   /* the obex session was aborted */
	WBT_SYNC_ERR_BAD_OBEX_RESPONSE,	   /* there was a bad obex response to a request */
	WBT_SYNC_ERR_PIM_NOT_PRESENT,	   /* there is no PIM present */
	WBT_SYNC_ERR_ALREADY_SYNCHING,	   /* machine is already sychronizing */
//    WBT_SYNC_ERR_SAVE_IN_PIM_DISABLED, /* "Save Objects in PIM" is not checked in the cpanel */
    WBT_SYNC_ERR_RETIRED1,              /* this code has been retired */
	WBT_SYNC_ERR_BAD_FOLDER,           /* work folder is not there & could not be created */
    WBT_SYNC_ERR_IRMC_SERVER,          /* IrMC Server error */
    WBT_SYNC_ERR_TIMEOUT,              /* timeout */
    WBT_SYNC_ERR_PIM,                  /* PIM caused an error */
    WBT_SYNC_ABORTED,                  /* the sync session was aborted */

    /* SDP service discovery error codes returned from COM server */
    WBT_SDP_ERR_BASE = 0x81000180,

    WBT_SDP_ERR_CONNECT_ERR,		    /* Could not connect to device */
    WBT_SDP_ERR_CONNECT_REJ,            /* Remote device rejected the connection */
    WBT_SDP_ERR_SECURITY,		        /* Security failed */
    WBT_SDP_ERR_BAD_RECORD,             /* Remote Service Record Error */

    /* PAN error codes */
    WBT_PAN_ERR_BASE = 0x81000190,
    WBT_PAN_LOCAL_NAP_EXISTS,           /* somebody already connected to us as a NAP, disconnect first */
    WBT_PAN_REMOTE_NAP_EXISTS,          /* we are already connected to NAP, disconnect first */
    WBT_PAN_LOCAL_GN_EXISTS,            /* somebody already connected to GN, can not connect to NAP */
    WBT_PAN_INVALID_REQ,                /* invalid request from app */
    WBT_PAN_WRONG_ROLE,                 /* PAN is in invalid role state */
    WBT_PAN_NAP_BOTH_SIDES,             /* NAP is setup on both sides */
    
    /* General connection error codes */
    WBT_CONN_ERR_BASE = 0x810001A0,

    WBT_CONN_DISCONNECTED,               /* An established connection has disconnected */
    WBT_CONN_CONNECT_ERROR,              /* Could not connect to remote */
    WBT_CONN_SECURITY_ERROR,             /* Security error during connection */
    WBT_CONN_LOCAL_CLOSED,               /* Local application opened and closed the COM port */
    WBT_CONN_LOCAL_TIMEOUT,               /* Local connection has not been started within timeout */

    /* BIP error codes returned from COM server */
    WBT_BIP_ERR_BASE = 0x810001B0,

    WBT_BIP_ERR_NO_HANDLES,           /* reached session limit;  no handle available */
    WBT_BIP_ERR_HANDLE,               /* bad handle */
    WBT_BIP_ERR_NOT_INITIALIZED,      /* not initialized */
    WBT_BIP_ERR_PARAM,                /* bad parameter */

    /* Print error codes returned from COM server */
    WBT_PRINT_ERR_BASE = 0x810001C0,

    WBT_PRINT_ERR_NO_PRINTER_FOUND,   /* no printer found to serve */

    /* Audio on demand error codes returned from COM server to Tray */
    WBT_AUDIO_DEMAND_ERR_BASE = 0x810001D0,
    WBT_AUDIO_DEMAND_HEADSET_NOT_CONFIGURED,
    WBT_AUDIO_DEMAND_HEADSET_NOT_CONNECTED,
    WBT_AUDIO_DEMAND_HEADSET_FAILED_TO_CONNECT,
    WBT_HEADSET_CONNECT_PENDING,
    WBT_AUDIO_FEATURE_NOT_SUPPORTED,

    /* BPP error codes */
    WBT_BPP_ERR_BASE = 0x820001B0,

    WBT_BPP_ERR_NO_HANDLES,           /* reached session limit;  no handle available */
    WBT_BPP_ERR_HANDLE,               /* bad handle */
    WBT_BPP_ERR_NOT_INITIALIZED,      /* not initialized */
    WBT_BPP_ERR_PARAM,                /* bad parameter */

    /* Voice Recognition error/status codes */
    WBT_VOICE_RECO_ERR_BASE = 0x820001C0,
    WBT_VOICE_RECO_STATUS_STARTED,  /* Started Voice recognition on local connection successfully */
    WBT_VOICE_RECO_STATUS_FAILED,   /* Failed to start Voice recognition on local connection */
    WBT_VOICE_RECO_STATUS_STOPPED,  /* Stopped Voice recognition on local connection */
    WBT_VOICE_RECO_STATUS_DIAL_COMMAND,     /* Dail Command received */
    WBT_VOICE_RECO_STATUS_ONE,              /* User said one */
    WBT_VOICE_RECO_STATUS_TWO,              /* User said two */
    WBT_VOICE_RECO_STATUS_THREE,            /* User said three */
    WBT_VOICE_RECO_STATUS_FOUR,             /* User said four */
    WBT_VOICE_RECO_STATUS_FIVE,             /* User said five */
    WBT_VOICE_RECO_STATUS_SIX,              /* User said six */
    WBT_VOICE_RECO_STATUS_SEVEN,            /* User said seven */
    WBT_VOICE_RECO_STATUS_EIGHT,            /* User said eight */
    WBT_VOICE_RECO_STATUS_NINE,             /* User said nine */
    WBT_VOICE_RECO_STATUS_ZERO,             /* User said zero */    
    WBT_VOICE_RECO_STATUS_CALL_COMMAND,    /* Call Command received */    
    WBT_VOICE_RECO_STATUS_MOVE_PROGRESS,    /* Dial timer ticked one */
    WBT_VOICE_RECO_STATUS_DIAL_DONE        /* Dial number done */
    


} WBtRc;

// A C callable routine to translate WBtRc codes to strings
// i.e. passing in WBT_COM_EXCEPTION returns "WBT_COM_EXCEPTION"
#ifdef __cplusplus
extern "C"
{
#endif
    __declspec(dllexport) LPCTSTR WBtRcToString(WBtRc resultCode);
    __declspec(dllexport) LPCTSTR WBtRcToDescription(long resultCode);
#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -