未验证 提交 b2e573e1 编写于 作者: L lindexi 提交者: GitHub

Using constants for strings to keep the code consistent (#2907)

上级 04c72e49
......@@ -20,7 +20,7 @@ internal static class UnsafeNativeMethods
[ResourceExposure(ResourceScope.None)]
public static extern IntPtr GetFocus();
[DllImport("User32", ExactSpelling = true, CharSet = CharSet.Auto)]
[DllImport(ExternDll.User32, ExactSpelling = true, CharSet = CharSet.Auto)]
[ResourceExposure(ResourceScope.None)]
internal static extern IntPtr SetParent(IntPtr hWnd, IntPtr hWndParent);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册