添加废弃标签

Signed-off-by: shilong <dragon.shilong@huawei.com>
This commit is contained in:
shilong 2024-11-21 07:16:55 +00:00 committed by Gitee
parent dd7407df60
commit d83c400616
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -298,6 +298,10 @@ typedef struct UsbDeviceMemMap {
typedef enum {
/** @error The operation is successful. */
USB_DDK_SUCCESS = 0,
/** @error The operation failed.
* @deprecate since 14
*/
USB_DDK_FAILED = -1,
/** @error Permission denied. */
USB_DDK_NO_PERM = 201,
/** @error Invalid parameter. */
@ -306,6 +310,14 @@ typedef enum {
* or memory application failure.
*/
USB_DDK_MEMORY_ERROR = 27400001,
/** @error Null pointer exception
* @deprecate since 14
*/
USB_DDK_NULL_PTR = -5,
/** @error Device busy.
* @deprecate since 14
*/
USB_DDK_DEVICE_BUSY = -6,
/** @error Invalid operation. */
USB_DDK_INVALID_OPERATION = 27400002,
/** @error Device I/O operation failed. */