From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4659521A07A94 for ; Sun, 18 Jun 2017 19:38:29 -0700 (PDT) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2017 19:39:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,359,1493708400"; d="scan'208";a="99242973" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga004.jf.intel.com with ESMTP; 18 Jun 2017 19:39:49 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 18 Jun 2017 19:39:49 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 18 Jun 2017 19:39:49 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.116]) with mapi id 14.03.0319.002; Mon, 19 Jun 2017 10:39:47 +0800 From: "Zeng, Star" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Ni, Ruiyu" , "Zeng, Star" Thread-Topic: [patch 1/8] MdePkg/SimpleTextInEx: Update comments according to UEFI 2.7 spec Thread-Index: AQHS6Jpu2l4CuIQJgEu4P9qDdQxrlKIreVXQ Date: Mon, 19 Jun 2017 02:39:46 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B8E8D65@shsmsx102.ccr.corp.intel.com> References: <1497835292-34476-1-git-send-email-dandan.bi@intel.com> <1497835292-34476-2-git-send-email-dandan.bi@intel.com> In-Reply-To: <1497835292-34476-2-git-send-email-dandan.bi@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch 1/8] MdePkg/SimpleTextInEx: Update comments according to UEFI 2.7 spec X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2017 02:38:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng -----Original Message----- From: Bi, Dandan=20 Sent: Monday, June 19, 2017 9:21 AM To: edk2-devel@lists.01.org Cc: Gao, Liming ; Zeng, Star ; N= i, Ruiyu Subject: [patch 1/8] MdePkg/SimpleTextInEx: Update comments according to UE= FI 2.7 spec Cc: Liming Gao Cc: Star Zeng Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi --- MdePkg/Include/Protocol/SimpleTextInEx.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/MdePkg/Include/Protocol/SimpleTextInEx.h b/MdePkg/Include/Prot= ocol/SimpleTextInEx.h index 436ff37..89f638a 100644 --- a/MdePkg/Include/Protocol/SimpleTextInEx.h +++ b/MdePkg/Include/Protocol/SimpleTextInEx.h @@ -3,11 +3,11 @@ =20 This protocol defines an extension to the EFI_SIMPLE_TEXT_INPUT_PROTOCOL which exposes much more state and modifier information from the input de= vice, also allows one to register a notification for a particular keystroke. =20 - Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BS= D License which accompanies this distribution. The full text of the license may b= e found at http://opensource.org/licenses/bsd-license.php =20 @@ -249,22 +249,23 @@ EFI_STATUS =20 @param This A pointer to the EFI_SIMPLE_TEXT_INPUT_E= X_PROTOCOL instance. =20 @param KeyData A pointer to a buffer that is filled in = with the keystroke information for the key th= at was - pressed. + pressed.If KeyData.Key, KeyData.KeyState= .KeyToggleState + and KeyData.KeyState.KeyShiftState are 0= , then any incomplete + keystroke will trigger a notification of= the KeyNotificationFunction. =20 - @param KeyNotificationFunction Points to the function to be - called when the key sequence - is typed specified by KeyData. + @param KeyNotificationFunction Points to the function to be called when= the key sequence + is typed specified by KeyData.This notif= ication function + should be called at <=3DTPL_CALLBACK. =20 =20 @param NotifyHandle Points to the unique handle assigned to the registered notification. =20 - @retval EFI_SUCCESS The device state was set - appropriately. + @retval EFI_SUCCESS Key notify was registered successfully. =20 @retval EFI_OUT_OF_RESOURCES Unable to allocate necessary data structures. =20 **/ @@ -284,11 +285,11 @@ EFI_STATUS @param This A pointer to the EFI_SIMPLE_TEXT_INPUT_EX_PROT= OCOL instance. =20 @param NotificationHandle The handle of the notification function being unregistered. =20 - @retval EFI_SUCCESS The device state was set appropriately. + @retval EFI_SUCCESS Key notify was unregistered successfully. =20 @retval EFI_INVALID_PARAMETER The NotificationHandle is invalid. =20 **/ --=20 1.9.5.msysgit.1