]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/WinNtGopDxe/WinNtGop.h
Fix a bug about the “VendorKey” variable update logic.
[mirror_edk2.git] / Nt32Pkg / WinNtGopDxe / WinNtGop.h
index 3490de06ca6c7d21843a14a0ff2289e37edfd3df..dcc52759e64e94046b3d0c60ebea9607512a918f 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2012, 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
@@ -46,13 +46,13 @@ Abstract:
 //\r
 // WM_SYSKEYDOWN/WM_SYSKEYUP Notification\r
 // lParam\r
-// bit 24: Specifies whether the key is an extended key, \r
-// such as the right-hand ALT and CTRL keys that appear on \r
-// an enhanced 101- or 102-key keyboard. \r
+// bit 24: Specifies whether the key is an extended key,\r
+// such as the right-hand ALT and CTRL keys that appear on\r
+// an enhanced 101- or 102-key keyboard.\r
 // The value is 1 if it is an extended key; otherwise, it is 0.\r
-// bit 29:Specifies the context code. \r
-// The value is 1 if the ALT key is down while the key is pressed/released; \r
-// it is 0 if the WM_SYSKEYDOWN message is posted to the active window \r
+// bit 29:Specifies the context code.\r
+// The value is 1 if the ALT key is down while the key is pressed/released;\r
+// it is 0 if the WM_SYSKEYDOWN message is posted to the active window\r
 // because no window has the keyboard focus.\r
 #define GOP_EXTENDED_KEY         (0x1 << 24)\r
 #define GOP_ALT_KEY_PRESSED      (0x1 << 29)\r
@@ -76,7 +76,6 @@ typedef struct {
 \r
 typedef struct _WIN_NT_GOP_SIMPLE_TEXTIN_EX_NOTIFY {\r
   UINTN                                 Signature;\r
-  EFI_HANDLE                            NotifyHandle;\r
   EFI_KEY_DATA                          KeyData;\r
   EFI_KEY_NOTIFY_FUNCTION               KeyNotificationFn;\r
   LIST_ENTRY                            NotifyEntry;\r
@@ -132,7 +131,7 @@ typedef struct {
   EFI_GRAPHICS_OUTPUT_BLT_PIXEL *FillLine;\r
 \r
   //\r
-  // Keyboard Queue used by Simple Text In. \r
+  // Keyboard Queue used by Simple Text In.\r
   // QueueForRead:   WinProc thread adds, and main thread removes.\r
   // QueueForNotify: WinProc thread adds, and timer thread removes.\r
   //\r
@@ -143,7 +142,7 @@ typedef struct {
   EFI_KEY_STATE                     KeyState;\r
   LIST_ENTRY                        NotifyList;\r
   BOOLEAN                           LeftShift;\r
-  BOOLEAN                           RightShift;  \r
+  BOOLEAN                           RightShift;\r
   BOOLEAN                           LeftAlt;\r
   BOOLEAN                           RightAlt;\r
   BOOLEAN                           LeftCtrl;\r
@@ -151,10 +150,11 @@ typedef struct {
   BOOLEAN                           LeftLogo;\r
   BOOLEAN                           RightLogo;\r
   BOOLEAN                           Menu;\r
-  BOOLEAN                           SysReq;  \r
+  BOOLEAN                           SysReq;\r
   BOOLEAN                           NumLock;\r
   BOOLEAN                           ScrollLock;\r
   BOOLEAN                           CapsLock;\r
+  BOOLEAN                           IsPartialKeySupport;\r
   EFI_EVENT                         TimerEvent;\r
 } GOP_PRIVATE_DATA;\r
 \r