You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
828 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Runtime.InteropServices;
  4. using System.Text;
  5. namespace Apewer.Internals.Interop
  6. {
  7. [StructLayout(LayoutKind.Sequential)]
  8. internal class DWM_THUMBNAIL_PROPERTIES
  9. {
  10. public uint dwFlags;
  11. public RECT rcDestination;
  12. public RECT rcSource;
  13. public byte opacity;
  14. [MarshalAs(UnmanagedType.Bool)]
  15. public bool fVisible;
  16. [MarshalAs(UnmanagedType.Bool)]
  17. public bool fSourceClientAreaOnly;
  18. public const uint DWM_TNP_RECTDESTINATION = 0x00000001;
  19. public const uint DWM_TNP_RECTSOURCE = 0x00000002;
  20. public const uint DWM_TNP_OPACITY = 0x00000004;
  21. public const uint DWM_TNP_VISIBLE = 0x00000008;
  22. public const uint DWM_TNP_SOURCECLIENTAREAONLY = 0x00000010;
  23. }
  24. }