Leaked source code of windows server 2003
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.

38 lines
660 B

  1. //
  2. // AWC.H
  3. // Active Window Coordinator
  4. //
  5. // Copyright(c) Microsoft 1997-
  6. //
  7. #ifndef _H_AWC
  8. #define _H_AWC
  9. //
  10. //
  11. // CONSTANTS
  12. //
  13. //
  14. #define AWC_INVALID_HWND ((HWND)1)
  15. #define AWC_SYNC_MSG_TOKEN 0xffff
  16. //
  17. //
  18. // MACROS
  19. //
  20. //
  21. #define AWC_IS_INDICATION(msg) \
  22. ((msg == AWC_MSG_ACTIVE_CHANGE_LOCAL) || \
  23. (msg == AWC_MSG_ACTIVE_CHANGE_INVISIBLE) || \
  24. (msg == AWC_MSG_ACTIVE_CHANGE_CAPTURED) || \
  25. (msg == AWC_MSG_ACTIVE_CHANGE_SHARED))
  26. #define AWC_IS_REQUEST(msg) \
  27. ((msg == AWC_MSG_ACTIVATE_WINDOW) || \
  28. (msg == AWC_MSG_RESTORE_WINDOW))
  29. #endif // _H_AWC