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.

107 lines
2.9 KiB

  1. #ifndef GLOBALS_H
  2. #define GLOBALS_H
  3. #define IMAGE_INDEX_TOOL 0
  4. #define IMAGE_INDEX_TOOL_OPEN 1
  5. #define IMAGE_INDEX_DOMAIN 2
  6. #define IMAGE_INDEX_DOMAIN_OPEN 3
  7. #define IMAGE_INDEX_VIEW 27//4
  8. #define IMAGE_INDEX_VIEW_OPEN 28//5
  9. #define IMAGE_INDEX_AD 6
  10. #define IMAGE_INDEX_AD_OPEN 7
  11. #define IMAGE_INDEX_OU 8
  12. #define IMAGE_INDEX_OU_OPEN 9
  13. #define IMAGE_INDEX_USERSCTN 10
  14. #define IMAGE_INDEX_USERSCTN_OPEN 11
  15. #define IMAGE_INDEX_USER 12
  16. #define IMAGE_INDEX_USER_OPEN 12
  17. #define IMAGE_INDEX_GROUP 13
  18. #define IMAGE_INDEX_GROUP_OPEN 13
  19. #define IMAGE_INDEX_TRTYFLTSCTN 14
  20. #define IMAGE_INDEX_TRTYFLTSCTN_OPEN 15
  21. #define IMAGE_INDEX_TRTYFILTER 16
  22. #define IMAGE_INDEX_TRTYFILTER_OPEN 17
  23. #define IMAGE_INDEX_TERRITORY 18
  24. #define IMAGE_INDEX_TERRITORY_OPEN 18
  25. #define IMAGE_INDEX_TERRSECTOR 19
  26. #define IMAGE_INDEX_TERRSECTOR_OPEN 19
  27. #define IMAGE_INDEX_GRPFLTSCTN 20
  28. #define IMAGE_INDEX_GRPFLTSCTN_OPEN 21
  29. #define IMAGE_INDEX_GRPFILTER 22
  30. #define IMAGE_INDEX_GRPFILTER_OPEN 23
  31. #define IMAGE_INDEX_LOG 24
  32. #define IMAGE_INDEX_LOG_OPEN 24
  33. #define IMAGE_INDEX_ACTIVITY 25
  34. #define IMAGE_INDEX_ACTIVITY_OPEN 25
  35. #define IMAGE_INDEX_OBJECTS 26
  36. #define IMAGE_INDEX_OBJECTS_OPEN 26
  37. #define IMAGE_INDEX_COMPUTER_WS 29
  38. #define IMAGE_INDEX_COMPUTER_WS_OPEN 30
  39. #define IMAGE_INDEX_COMPUTER_DC 41
  40. #define IMAGE_INDEX_COMPUTER_DC_OPEN 41
  41. #define IMAGE_INDEX_COMPFILTER 31
  42. #define IMAGE_INDEX_COMPFILTER_OPEN 32
  43. #define IMAGE_INDEX_AD_BUSY 33
  44. #define IMAGE_INDEX_AD_BUSY_OPEN 34
  45. #define IMAGE_INDEX_OU_BUSY 35
  46. #define IMAGE_INDEX_OU_BUSY_OPEN 36
  47. #define IMAGE_INDEX_USERSCTN_BUSY 37
  48. #define IMAGE_INDEX_USERSCTN_BUSY_OPEN 38
  49. #define IMAGE_INDEX_PRINTER 39
  50. #define IMAGE_INDEX_PRINTER_OPEN 39
  51. #define IMAGE_INDEX_SHARE 40
  52. #define IMAGE_INDEX_SHARE_OPEN 40
  53. HRESULT
  54. InsertNodeToScopepane(
  55. IConsoleNameSpace * pConsoleNameSpace,
  56. CSnapInItem * pNewNode ,
  57. HSCOPEITEM parentID ,
  58. HSCOPEITEM nextSiblingID = 0
  59. );
  60. HRESULT
  61. InsertNodeToScopepane2(
  62. IConsole * pConsole ,
  63. CSnapInItem * pNewNode ,
  64. HSCOPEITEM parentID ,
  65. HSCOPEITEM nextSiblingID = 0
  66. );
  67. HRESULT
  68. GetSnapInItemGuid(
  69. CSnapInItem * pItem ,
  70. GUID * pOutGuid
  71. );
  72. HRESULT
  73. GetConsoleFromCSnapInObjectRootBase(
  74. CSnapInObjectRootBase* pObj,
  75. IConsole **ppConsole
  76. );
  77. #endif