SCR.cs 780 B

123456789101112131415161718192021222324252627
  1. namespace Microsoft.Win32
  2. {
  3. //SelectClipRgn返回值定义
  4. public static partial class NativeMethods
  5. {
  6. /// <summary>
  7. /// 发生错误(以前的剪切区域不受影响)
  8. /// </summary>
  9. public const int ERROR = 0;
  10. /// <summary>
  11. /// 区域为空
  12. /// </summary>
  13. public const int NULLREGION = 1;
  14. /// <summary>
  15. /// 区域为单个矩形
  16. /// </summary>
  17. public const int SIMPLEREGION = 2;
  18. /// <summary>
  19. /// 区域为多个矩形
  20. /// </summary>
  21. public const int COMPLEXREGION = 3;
  22. /// <summary>
  23. /// 发生错误(以前的剪切区域不受影响)
  24. /// </summary>
  25. public const int RGN_ERROR = ERROR;
  26. }
  27. }