Provide better Preview API

This commit is contained in:
Anton Kasyanov
2016-05-14 19:50:11 +03:00
parent aaf859a1e3
commit a6f5e2edec
13 changed files with 556 additions and 462 deletions

View File

@@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace EveOPreview
{
[StructLayout(LayoutKind.Sequential)]
internal class DWM_THUMBNAIL_PROPERTIES
class DWM_THUMBNAIL_PROPERTIES
{
public uint dwFlags;
public RECT rcDestination;
@@ -13,11 +13,5 @@ namespace EveOPreview
public bool fVisible;
[MarshalAs(UnmanagedType.Bool)]
public bool fSourceClientAreaOnly;
public const uint DWM_TNP_RECTDESTINATION = 0x00000001;
public const uint DWM_TNP_RECTSOURCE = 0x00000002;
public const uint DWM_TNP_OPACITY = 0x00000004;
public const uint DWM_TNP_VISIBLE = 0x00000008;
public const uint DWM_TNP_SOURCECLIENTAREAONLY = 0x00000010;
}
}