Source code of Windows XP (NT5)
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.

74 lines
2.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: amcmsgid.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _AMCMSGID_H
  11. #define _AMCMSGID_H
  12. //***************************IMPORTANT*****************************************
  13. // The following enum group defines custom window messages used by MMC.
  14. // MMC_MSG_SHOW_SNAPIN_HELP_TOPIC should be the first message and it's value
  15. // can't be changed because it is referenced by mmc.lib, which is statically
  16. // linked by snap-ins. Changing this message number would break existing snap-in
  17. // DLLs.
  18. //
  19. // Because the message ID was mistakenly changed from the original (ver 1.1) value
  20. // of 2166 to 2165, the message MMC_MSG_SHOW_SNAP_IN_HELP_TOPIC_ALT is being added
  21. // so that MMC will respond properly to both message codes. This eliminates the
  22. // need to synchronize this check-in with snap-in re-linking.
  23. //******************************************************************************
  24. enum MMC_MSG
  25. {
  26. // Base message starting
  27. MMC_MSG_START = 2165, // DO NOT CHANGE!!
  28. // Message sent by nodemgr to conui
  29. //
  30. // wParam - <unused>
  31. // lParam - LPOLESTR help topic
  32. MMC_MSG_SHOW_SNAPIN_HELP_TOPIC_ALT = MMC_MSG_START, // This must be the first message!
  33. MMC_MSG_SHOW_SNAPIN_HELP_TOPIC,
  34. MMC_MSG_PROP_SHEET_NOTIFY,
  35. // Messages sent by CIC
  36. //
  37. // wParam - VARIANTARG
  38. // lParam - VARIANTARG
  39. MMC_MSG_CONNECT_TO_CIC,
  40. // Message sent by TPLV (TaskPadListView or ListPad)
  41. //
  42. // wParam - HWND of TPLV
  43. // lParam - HWND* to receive ListView window if connecting, NULL if deconnecting
  44. MMC_MSG_CONNECT_TO_TPLV,
  45. // Message sent from CFavTreeObserver to parent window
  46. //
  47. // wparam - ptr to Memento if favorite selected, NULL if folder selected
  48. // lparam - <unused>
  49. MMC_MSG_FAVORITE_SELECTION,
  50. // Message sent from CIconControl to parent window
  51. //
  52. // wparam - out param, ptr to HICON.
  53. // lparam - unused
  54. MMC_MSG_GET_ICON_INFO,
  55. // must be last!!
  56. MMC_MSG_MAX,
  57. MMC_MSG_FIRST = MMC_MSG_START,
  58. MMC_MSG_LAST = MMC_MSG_MAX - 1
  59. };
  60. #endif // _AMCMSGID_H