From cb9bcbcad8501b803e90b08754e2cbb74d0ce5ee Mon Sep 17 00:00:00 2001 From: David Hall Date: Wed, 28 Nov 2018 08:55:29 -0700 Subject: [PATCH] Fixed header for GetSystemTimeAdjustmentPrecise --- PInvoke/Kernel32/SysInfoApi.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PInvoke/Kernel32/SysInfoApi.cs b/PInvoke/Kernel32/SysInfoApi.cs index 097f93ef..8cbc2b5d 100644 --- a/PInvoke/Kernel32/SysInfoApi.cs +++ b/PInvoke/Kernel32/SysInfoApi.cs @@ -1639,7 +1639,7 @@ namespace Vanara.PInvoke /// // https://docs.microsoft.com/en-us/windows/desktop/api/sysinfoapi/nf-sysinfoapi-getsystemtimeadjustmentprecise // BOOL GetSystemTimeAdjustmentPrecise( PDWORD64 lpTimeAdjustment, PDWORD64 lpTimeIncrement, PBOOL lpTimeAdjustmentDisabled ); - [DllImport(Lib.Api, SetLastError = true, ExactSpelling = true)] + [DllImport(Lib.KernelBase, SetLastError = true, ExactSpelling = true)] [PInvokeData("sysinfoapi.h", MSDNShortId = "95EEE23D-01D8-49E1-BA64-49C07E8B1619")] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool GetSystemTimeAdjustmentPrecise(out ulong lpTimeAdjustment, out ulong lpTimeIncrement, [MarshalAs(UnmanagedType.Bool)] out bool lpTimeAdjustmentDisabled);