fixed .net 4.0 compile problem
This commit is contained in:
1 parent
95694e7e27
commit
01c41422f8
3 files changed
+18
-11
No files matched your search
@@ -480,6 +480,10 @@ namespace HandyControl.Tools.Interop
|
||||
[DllImport(InteropValues.ExternDll.Shell32, CallingConvention = CallingConvention.StdCall)]
|
||||
internal static extern uint SHAppBarMessage(int dwMessage, ref InteropValues.APPBARDATA pData);
|
||||
|
||||
[SecurityCritical]
|
||||
[DllImport(InteropValues.ExternDll.DwmApi, EntryPoint = "DwmGetColorizationColor", PreserveSig = true)]
|
||||
internal static extern int DwmGetColorizationColor(out uint pcrColorization, out bool pfOpaqueBlend);
|
||||
|
||||
#endregion
|
||||
|
||||
internal class Gdip
|
||||
|
||||
@@ -18,7 +18,8 @@ namespace HandyControl.Tools.Interop
|
||||
Kernel32 = "kernel32.dll",
|
||||
Shell32 = "shell32.dll",
|
||||
MsImg = "msimg32.dll",
|
||||
NTdll = "ntdll.dll";
|
||||
NTdll = "ntdll.dll",
|
||||
DwmApi = "dwmapi.dll";
|
||||
}
|
||||
|
||||
internal delegate IntPtr HookProc(int code, IntPtr wParam, IntPtr lParam);
|
||||
|
||||
Reference in new issue
Block a user