NotifyIconVersion.cs 980 B

123456789101112131415161718192021222324252627
  1. namespace Hardcodet.Wpf.TaskbarNotification.Interop
  2. {
  3. /// <summary>
  4. /// The notify icon version that is used. The higher
  5. /// the version, the more capabilities are available.
  6. /// </summary>
  7. public enum NotifyIconVersion
  8. {
  9. /// <summary>
  10. /// Default behavior (legacy Win95). Expects
  11. /// a <see cref="NotifyIconData"/> size of 488.
  12. /// </summary>
  13. Win95 = 0x0,
  14. /// <summary>
  15. /// Behavior representing Win2000 an higher. Expects
  16. /// a <see cref="NotifyIconData"/> size of 504.
  17. /// </summary>
  18. Win2000 = 0x3,
  19. /// <summary>
  20. /// Extended tooltip support, which is available for Vista and later.
  21. /// Detailed information about what the different versions do, can be found <a href="https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shell_notifyicona">here</a>
  22. /// </summary>
  23. Vista = 0x4
  24. }
  25. }