]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/UsbFunctionIo.h
MdePkg UsbFunctionIo.h: Update comments for GetDeviceInfo return status
[mirror_edk2.git] / MdePkg / Include / Protocol / UsbFunctionIo.h
index 923c1d3527ed2c885137fb79db736beaa31ecf94..ce556bdbaf317de24d50388c11d4239912c1eade 100644 (file)
@@ -11,7 +11,7 @@
   or interrupt transfers, alternate interfaces, or USB 3.0 functionality.\r
   Future revisions of this protocol may support these or additional features.\r
 \r
-  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -273,9 +273,13 @@ EFI_STATUS
                                 as a Unicode string.\r
 \r
   @retval EFI_SUCCESS           The function returned successfully.\r
-  @retval EFI_INVALID_PARAMETER A parameter is invalid.\r
+  @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:\r
+                                BufferSize is NULL.\r
+                                *BufferSize is not 0 and Buffer is NULL.\r
+                                Id in invalid.\r
   @retval EFI_DEVICE_ERROR      The physical device reported an error.\r
-  @retval EFI_BUFFER_TOO_SMALL  Supplied buffer isn't large enough to hold the request string.\r
+  @retval EFI_BUFFER_TOO_SMALL  The buffer is too small to hold the buffer.\r
+                                *BufferSize has been updated with the size needed to hold the request string.\r
 \r
 **/\r
 typedef\r