From 7601fa24f527c6bb96691b2b5f3e626c79c4699d Mon Sep 17 00:00:00 2001 From: Sweidan Omar Date: Mon, 24 Jan 2022 13:26:56 +0000 Subject: [PATCH] git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32870 --- client/DxPlay/NativeMethods.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/DxPlay/NativeMethods.cs b/client/DxPlay/NativeMethods.cs index 345416da..58bad797 100644 --- a/client/DxPlay/NativeMethods.cs +++ b/client/DxPlay/NativeMethods.cs @@ -297,7 +297,7 @@ namespace DxPlay { public static extern int GetProcessId( [In] IntPtr Process); - [DllImport("kernel32", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)] + [DllImport("kernel32.dll", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)] public static extern IntPtr GetProcAddress(IntPtr hModule, string procName); [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] @@ -384,7 +384,7 @@ namespace DxPlay { [DllImport("kernel32.dll")] public static extern bool SetWaitableTimer(IntPtr hTimer, [In] ref long pDueTime, int lPeriod, IntPtr pfnCompletionRoutine, IntPtr lpArgToCompletionRoutine, bool fResume); - [DllImport("kernel32", SetLastError = true, ExactSpelling = true)] + [DllImport("kernel32.dll", SetLastError = true, ExactSpelling = true)] public static extern int WaitForSingleObject(IntPtr handle, uint milliseconds); [DllImport("wer.dll", CharSet = CharSet.Auto)] @@ -407,7 +407,7 @@ namespace DxPlay { out IntPtr pSacl, out IntPtr pSecurityDescriptor); - [DllImport("advapi32", CharSet = CharSet.Unicode, SetLastError = true)] + [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern bool ConvertSidToStringSid( IntPtr sid, out IntPtr sidString); @@ -433,7 +433,7 @@ namespace DxPlay { [DllImport("user32.dll")] public static extern int GetDlgCtrlID(IntPtr hwndCtl); - [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError=true)] + [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError= true)] public static extern IntPtr LoadLibrary(string lpFileName); [DllImport("kernel32.dll", CharSet = CharSet.Auto)] -- 2.54.0