DWM API moved into a folder

This commit is contained in:
Anton Kasyanov
2016-05-09 19:56:16 +03:00
parent 09405ac43a
commit 793fc8cd06
8 changed files with 115 additions and 86 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Runtime.InteropServices;
namespace EveOPreview
{
[StructLayout(LayoutKind.Sequential)]
class DWM_BLURBEHIND
{
public uint dwFlags;
[MarshalAs(UnmanagedType.Bool)]
public bool fEnable;
public IntPtr hRegionBlur;
[MarshalAs(UnmanagedType.Bool)]
public bool fTransitionOnMaximized;
public const uint DWM_BB_ENABLE = 0x00000001;
public const uint DWM_BB_BLURREGION = 0x00000002;
public const uint DWM_BB_TRANSITIONONMAXIMIZED = 0x00000004;
}
}