From 2b6b90bb1eb679f67dffd21fe00bbeebae6a9ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E4=B8=B0?= Date: Thu, 3 Apr 2025 07:36:59 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9IUsbfnMtpInterface.write?= =?UTF-8?q?=E5=92=8CIUsbfnMtpInterface.reade=E6=8E=A5=E5=8F=A3=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘丰 --- .../device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl b/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl index 724b6cbf..8dd1c1c6 100644 --- a/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl +++ b/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl @@ -83,7 +83,7 @@ interface IUsbfnMtpInterface { * * @param data表示USB MTP/PTP驱动程序读取的数据。 * - * @return 如果操作失败,则返回读取的字节数、-1或其他负值。 + * @return 如果操作失败,则返回写入的字节数;如果操作失败,则返回-1或其他负值。 * * @since 4.0 * @version 1.0 @@ -95,7 +95,7 @@ interface IUsbfnMtpInterface { * * @param 通过USB MTP/PTP驱动程序写入数据。data表示数据写入USB MTP/PT驱动程序。 * - * @return 如果操作失败,则返回写入的字节数、-1或其他负值。 + * @return 如果操作失败,则返回写入的字节数;如果操作失败,则返回-1或其他负值。 * * @since 4.0 * @version 1.0 -- Gitee From 139e42250e9f9d537b380802c98b31265843ab2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E4=B8=B0?= Date: Thu, 3 Apr 2025 07:47:29 +0000 Subject: [PATCH 2/3] update zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘丰 --- .../device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl b/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl index 8dd1c1c6..0756355a 100644 --- a/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl +++ b/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl @@ -83,7 +83,7 @@ interface IUsbfnMtpInterface { * * @param data表示USB MTP/PTP驱动程序读取的数据。 * - * @return 如果操作失败,则返回写入的字节数;如果操作失败,则返回-1或其他负值。 + * @return 如果操作成功,则返回写入的字节数;如果操作失败,则返回-1或其他负值。 * * @since 4.0 * @version 1.0 @@ -95,7 +95,7 @@ interface IUsbfnMtpInterface { * * @param 通过USB MTP/PTP驱动程序写入数据。data表示数据写入USB MTP/PT驱动程序。 * - * @return 如果操作失败,则返回写入的字节数;如果操作失败,则返回-1或其他负值。 + * @return 如果操作成功,则返回写入的字节数;如果操作失败,则返回-1或其他负值。 * * @since 4.0 * @version 1.0 -- Gitee From 659ae29c6e4d3d05d62b7c6de6ec9144364ef65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E4=B8=B0?= Date: Thu, 3 Apr 2025 08:00:27 +0000 Subject: [PATCH 3/3] update zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘丰 --- zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl b/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl index 0756355a..5795354c 100644 --- a/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl +++ b/zh-cn/device_api/hdi/usb/gadget/mtp/v1_0/IUsbfnMtpInterface.idl @@ -83,7 +83,7 @@ interface IUsbfnMtpInterface { * * @param data表示USB MTP/PTP驱动程序读取的数据。 * - * @return 如果操作成功,则返回写入的字节数;如果操作失败,则返回-1或其他负值。 + * @return 如果操作成功,则返回读取的字节数;如果操作失败,则返回-1或其他负值。 * * @since 4.0 * @version 1.0 -- Gitee