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.

67 lines
2.3 KiB

  1. // Consts.h
  2. //
  3. // Copyright (c) 1998-1999 Microsoft Corporation
  4. #ifndef MSINFO_CONSTS_H
  5. #define MSINFO_CONSTS_H
  6. extern const CLSID CLSID_MSInfo; // In-Proc server GUID
  7. extern const CLSID CLSID_About;
  8. extern const CLSID CLSID_Extension; // In-Proc server GUID
  9. extern const CLSID CLSID_SystemInfo;
  10. extern LPCTSTR cszClsidMSInfoSnapin;
  11. extern LPCTSTR cszClsidAboutMSInfo;
  12. extern LPCTSTR cszClsidMSInfoExtension;
  13. extern LPCTSTR cszWindowsCurrentKey;
  14. extern LPCTSTR cszCommonFilesValue;
  15. // Static NodeType GUID in numeric & string formats.
  16. extern const GUID cNodeTypeStatic;
  17. extern LPCTSTR cszNodeTypeStatic;
  18. // Dynamicaly created objects.
  19. extern const GUID cNodeTypeDynamic;
  20. extern LPCTSTR cszNodeTypeDynamic;
  21. // Result items object type GUID in numeric & string formats.
  22. extern const GUID cObjectTypeResultItem;
  23. extern LPCTSTR cszObjectTypeResultItem;
  24. // Prototypes required so that the linker munges the names properly.
  25. extern const IID IID_IComponentData;
  26. extern const IID IID_IConsole;
  27. extern const IID IID_IConsoleNameSpace;
  28. extern const IID IID_IComponent;
  29. extern const IID IID_IEnumTASK;
  30. extern const IID IID_IExtendContextMenu;
  31. extern const IID IID_IExtendControlbar;
  32. extern const IID IID_IExtendPropertySheet;
  33. extern const IID IID_IExtendTaskPad;
  34. extern const IID IID_IHeaderCtrl;
  35. extern const IID IID_IResultData;
  36. extern const IID IID_IResultDataCompare;
  37. extern const IID IID_IResultOwnerData;
  38. extern const IID IID_ISnapinAbout;
  39. extern const IID IID_ISystemInfo;
  40. extern const IID LIBID_MSINFOSNAPINLib;
  41. // Clipboard format strings.
  42. #define CF_MACHINE_NAME _T("MMC_SNAPIN_MACHINE_NAME")
  43. #define CF_INTERNAL_OBJECT _T("MSINFO_DATA_OBJECT")
  44. // This is the saved console file which contains the directory to try to
  45. // find MSInfo in, if for some reason we can't find find our key in the
  46. // registry.
  47. extern LPCTSTR cszDefaultDirectory;
  48. // The root registry key where we should find our data.
  49. extern LPCTSTR cszRegistryRoot;
  50. // The key which stores the Directory where we can find our saved console.
  51. extern LPCTSTR cszDirectoryKey;
  52. // The root name for our internal data structure.
  53. extern LPCTSTR cszRootName;
  54. // Constants for the access function.
  55. enum AccessConstants { A_EXIST = 0x00, A_WRITE = 0x02, A_READ = 0x04 };
  56. #endif // MSINFO_CONSTS_H