mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-27 00:41:01 +00:00
加上@error标记
Signed-off-by: shilong <dragon.shilong@huawei.com>
This commit is contained in:
parent
25a5c0ee4a
commit
aa1df25dab
@ -589,19 +589,19 @@ typedef struct Hid_EventProperties {
|
||||
* @version 1.0
|
||||
*/
|
||||
typedef enum {
|
||||
/** Operation successful */
|
||||
/** @error Operation successful */
|
||||
HID_DDK_SUCCESS = 0,
|
||||
/** Permission denied */
|
||||
/** @error Permission denied */
|
||||
HID_DDK_NO_PERM = 201,
|
||||
/** Invalid parameter */
|
||||
/** @error Invalid parameter */
|
||||
HID_DDK_INVALID_PARAMETER = 401,
|
||||
/** Operation failed */
|
||||
/** @error Operation failed */
|
||||
HID_DDK_FAILURE = 27300001,
|
||||
/** Null pointer exception */
|
||||
/** @error Null pointer exception */
|
||||
HID_DDK_NULL_PTR = 27300002,
|
||||
/** Invalid operation */
|
||||
/** @error Invalid operation */
|
||||
HID_DDK_INVALID_OPERATION = 27300003,
|
||||
/** Timeout */
|
||||
/** @error Timeout */
|
||||
HID_DDK_TIMEOUT = 27300004,
|
||||
} Hid_DdkErrCode;
|
||||
#ifdef __cplusplus
|
||||
|
@ -296,20 +296,20 @@ typedef struct UsbDeviceMemMap {
|
||||
* @version 1.0
|
||||
*/
|
||||
typedef enum {
|
||||
/** The operation is successful. */
|
||||
/** @error The operation is successful. */
|
||||
USB_DDK_SUCCESS = 0,
|
||||
/** Permission denied. */
|
||||
/** @error Permission denied. */
|
||||
USB_DDK_NO_PERM = 201,
|
||||
/** Invalid parameter. */
|
||||
/** @error Invalid parameter. */
|
||||
USB_DDK_INVALID_PARAMETER = 401,
|
||||
/** Memory-related error, for example, insufficient memory, memory data copy failure, or memory application failure.
|
||||
/** @error Memory-related error, for example, insufficient memory, memory data copy failure, or memory application failure.
|
||||
*/
|
||||
USB_DDK_MEMORY_ERROR = 27400001,
|
||||
/** Invalid operation. */
|
||||
/** @error Invalid operation. */
|
||||
USB_DDK_INVALID_OPERATION = 27400002,
|
||||
/** I/O error */
|
||||
/** @error I/O error */
|
||||
USB_DDK_IO_FAILED = 27400003,
|
||||
/** Transmission timeout. */
|
||||
/** @error Transmission timeout. */
|
||||
USB_DDK_TIMEOUT = 27400004,
|
||||
} UsbDdkErrCode;
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user