X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Nt32Pkg%2FInclude%2FProtocol%2FWinNtThunk.h;h=847f67b21dfa5770f9ba698dc395f7a2c9d5f08a;hb=4d5d7812786db947e476b4d850698b465d0e2d99;hp=e63322d6c02e499170b2a78c7441a469aea40cbe;hpb=8f2a5f8012e3a6de30f5b12ce3a218efae9eaedd;p=mirror_edk2.git diff --git a/Nt32Pkg/Include/Protocol/WinNtThunk.h b/Nt32Pkg/Include/Protocol/WinNtThunk.h index e63322d6c0..847f67b21d 100644 --- a/Nt32Pkg/Include/Protocol/WinNtThunk.h +++ b/Nt32Pkg/Include/Protocol/WinNtThunk.h @@ -1,13 +1,7 @@ /**@file -Copyright (c) 2006, Intel Corporation. All rights reserved.
-This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent Module Name: @@ -676,6 +670,15 @@ BOOL CONST SYSTEMTIME *SystemTime ); +typedef +WINBASEAPI +BOOL +(WINAPI *WinNtLocalFileTimeToFileTime) ( + CONST FILETIME *LocalFileTime, + LPFILETIME FileTime + ); + + typedef WINBASEAPI BOOL @@ -1095,6 +1098,19 @@ BOOL (WINAPI *WinNtFreeLibrary) ( HANDLE ModHandle ); +typedef +WINBASEAPI +BOOL +(WINAPI *WinNtQueryPerformanceCounter) ( + LARGE_INTEGER *PerformanceCount + ); + +typedef +WINBASEAPI +BOOL +(WINAPI *WinNtQueryPerformanceFrequency) ( + LARGE_INTEGER *Frequency + ); // // // @@ -1197,6 +1213,7 @@ typedef struct { // // Win32 Time APIs // + WinNtLocalFileTimeToFileTime LocalFileTimeToFileTime; WinNtFileTimeToLocalFileTime FileTimeToLocalFileTime; WinNtFileTimeToSystemTime FileTimeToSystemTime; WinNtGetSystemTime GetSystemTime; @@ -1259,7 +1276,10 @@ typedef struct { WinNtGetProcessHeap GetProcessHeap; WinNtHeapAlloc HeapAlloc; WinNtHeapFree HeapFree; - + + WinNtQueryPerformanceCounter QueryPerformanceCounter; + WinNtQueryPerformanceFrequency QueryPerformanceFrequency; + } EFI_WIN_NT_THUNK_PROTOCOL; extern EFI_GUID gEfiWinNtThunkProtocolGuid;