/**@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
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
(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
//\r
// Win32 Time APIs\r
//\r
+ WinNtLocalFileTimeToFileTime LocalFileTimeToFileTime;\r
WinNtFileTimeToLocalFileTime FileTimeToLocalFileTime;\r
WinNtFileTimeToSystemTime FileTimeToSystemTime;\r
WinNtGetSystemTime GetSystemTime;\r
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