]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Include/Protocol/WinNtThunk.h
Nt32Pkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Nt32Pkg / Include / Protocol / WinNtThunk.h
index 181c4149d90d91b40f48563143e6506394673dd6..847f67b21dfa5770f9ba698dc395f7a2c9d5f08a 100644 (file)
@@ -1,13 +1,7 @@
 /**@file\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. 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
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 Module Name:\r
 \r
@@ -676,6 +670,15 @@ BOOL
   CONST SYSTEMTIME    *SystemTime\r
   );\r
 \r
+typedef\r
+WINBASEAPI\r
+BOOL\r
+(WINAPI *WinNtLocalFileTimeToFileTime) (\r
+  CONST FILETIME  *LocalFileTime,\r
+  LPFILETIME      FileTime\r
+  );\r
+\r
+\r
 typedef\r
 WINBASEAPI\r
 BOOL\r
@@ -1095,6 +1098,19 @@ BOOL
 (WINAPI *WinNtFreeLibrary) (\r
   HANDLE  ModHandle\r
   );\r
+typedef  \r
+WINBASEAPI\r
+BOOL\r
+(WINAPI *WinNtQueryPerformanceCounter) (\r
+  LARGE_INTEGER  *PerformanceCount\r
+  );\r
+  \r
+typedef  \r
+WINBASEAPI\r
+BOOL\r
+(WINAPI *WinNtQueryPerformanceFrequency) (\r
+  LARGE_INTEGER  *Frequency\r
+  );\r
 //\r
 //\r
 //\r
@@ -1197,6 +1213,7 @@ typedef struct {
   //\r
   // Win32 Time APIs\r
   //\r
+  WinNtLocalFileTimeToFileTime        LocalFileTimeToFileTime;\r
   WinNtFileTimeToLocalFileTime        FileTimeToLocalFileTime;\r
   WinNtFileTimeToSystemTime           FileTimeToSystemTime;\r
   WinNtGetSystemTime                  GetSystemTime;\r
@@ -1259,7 +1276,10 @@ typedef struct {
   WinNtGetProcessHeap                 GetProcessHeap;\r
   WinNtHeapAlloc                      HeapAlloc;\r
   WinNtHeapFree                       HeapFree;\r
-\r
+  \r
+  WinNtQueryPerformanceCounter        QueryPerformanceCounter;\r
+  WinNtQueryPerformanceFrequency      QueryPerformanceFrequency;\r
+  \r
 } EFI_WIN_NT_THUNK_PROTOCOL;\r
 \r
 extern EFI_GUID gEfiWinNtThunkProtocolGuid;\r