home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / objmodel / appguid.h < prev    next >
C/C++ Source or Header  |  1998-05-05  |  4KB  |  97 lines

  1. // Microsoft Visual Studio Object Model
  2. // Copyright (C) 1996-1997 Microsoft Corporation
  3. // All rights reserved.
  4.  
  5. /////////////////////////////////////////////////////////////////////////////
  6. // appguid.h
  7.  
  8. // Declaration of GUIDs used for objects found in the type library
  9. //  VISUAL STUDIO 97 SHARED OBJECTS (SharedIDE\bin\devshl.dll)
  10.  
  11. // NOTE!!!  This file uses the DEFINE_GUID macro.  If you #include
  12. //  this file in your project, then you must also #include it in
  13. //  exactly one of your project's other files with a 
  14. //  "#include <initguid.h>" beforehand: i.e.,
  15. //        #include <initguid.h>
  16. //        #include <appguid.h>
  17. //  If you fail to do this, you will get UNRESOLVED EXTERNAL linker errors.
  18. //  The Developer Studio add-in wizard automatically does this for you.
  19.  
  20. #ifndef __APPGUID_H__
  21. #define __APPGUID_H__
  22.  
  23. /////////////////////////////////////////////////////////////////////////
  24. // Application Object IDs
  25.  
  26. // {EC1D73A1-8CC4-11cf-9BE9-00A0C90A632C}
  27. struct __declspec(uuid("{EC1D73A1-8CC4-11cf-9BE9-00A0C90A632C}")) IApplication;
  28. DEFINE_GUID(IID_IApplication,
  29. 0xEC1D73A1L,0x8CC4,0x11CF,0x9B,0xE9,0x00,0xA0,0xC9,0x0A,0x63,0x2C);
  30.  
  31. // {8EA3F900-4A9F-11cf-8E4E-00AA004254C4}
  32. struct __declspec(uuid("{8EA3F900-4A9F-11cf-8E4E-00AA004254C4}")) IApplicationEvents;
  33. DEFINE_GUID(IID_IApplicationEvents, 
  34. 0x8ea3f900, 0x4a9f, 0x11cf, 0x8e, 0x4e, 0x0, 0xaa, 0x0, 0x42, 0x54, 0xc4);
  35.  
  36. // {FB7FDAE2-89B8-11cf-9BE8-00A0C90A632C}
  37. DEFINE_GUID(CLSID_Application, 
  38. 0xfb7fdae2, 0x89b8, 0x11cf, 0x9b, 0xe8, 0x0, 0xa0, 0xc9, 0xa, 0x63, 0x2c);
  39.  
  40.  
  41. /////////////////////////////////////////////////////////////////////////
  42. // Document Object IID
  43.  
  44. // {FB7FDAE1-89B8-11cf-9BE8-00A0C90A632C}
  45. struct __declspec(uuid("{FB7FDAE1-89B8-11cf-9BE8-00A0C90A632C}")) IGenericDocument;
  46. DEFINE_GUID(IID_IGenericDocument, 
  47. 0xfb7fdae1, 0x89b8, 0x11cf, 0x9b, 0xe8, 0x0, 0xa0, 0xc9, 0xa, 0x63, 0x2c);
  48.  
  49.  
  50. /////////////////////////////////////////////////////////////////////////
  51. // Documents Collection Object IID
  52.  
  53. // {FB7FDAE3-89B8-11CF-9BE8-00A0C90A632C}
  54. struct __declspec(uuid("{FB7FDAE3-89B8-11CF-9BE8-00A0C90A632C}")) IDocuments;
  55. DEFINE_GUID(IID_IDocuments,
  56. 0xFB7FDAE3L,0x89B8,0x11CF,0x9B,0xE8,0x00,0xA0,0xC9,0x0A,0x63,0x2C);
  57.  
  58.  
  59. /////////////////////////////////////////////////////////////////////////
  60. // Window Object IID
  61.  
  62. // {FD20FC80-A9D2-11cf-9C13-00A0C90A632C}
  63. struct __declspec(uuid("{FD20FC80-A9D2-11cf-9C13-00A0C90A632C}")) IGenericWindow;
  64. DEFINE_GUID(IID_IGenericWindow,
  65. 0xFD20FC80L,0xA9D2,0x11CF,0x9C,0x13,0x00,0xA0,0xC9,0x0A,0x63,0x2C);
  66.  
  67.  
  68. /////////////////////////////////////////////////////////////////////////
  69. // Windows Collection Object IID
  70.  
  71. // {3928F551-96E6-11cf-9C00-00A0C90A632C}
  72. struct __declspec(uuid("{3928F551-96E6-11cf-9C00-00A0C90A632C}")) IWindows;
  73. DEFINE_GUID(IID_IWindows, 
  74. 0x3928f551L, 0x96e6, 0x11cf, 0x9c, 0x00, 0x00, 0xa0, 0xc9, 0xa, 0x63, 0x2c);
  75.  
  76.  
  77. /////////////////////////////////////////////////////////////////////////
  78. // Project Object IID
  79.  
  80. // {8CA5A960-FC7D-11cf-927D-00A0C9138C45}
  81. struct __declspec(uuid("{8CA5A960-FC7D-11cf-927D-00A0C9138C45}")) IGenericProject;
  82. DEFINE_GUID(IID_IGenericProject, 
  83. 0x8ca5a960, 0xfc7d, 0x11cf, 0x92, 0x7d, 0x0, 0xa0, 0xc9, 0x13, 0x8c, 0x45);
  84.  
  85.  
  86. /////////////////////////////////////////////////////////////////////////
  87. // Projects Collection Object IID
  88.  
  89. // {13BF7741-A7E8-11cf-AD07-00A0C9034965}
  90. struct __declspec(uuid("{13BF7741-A7E8-11cf-AD07-00A0C9034965}")) IProjects;
  91. DEFINE_GUID(IID_IProjects,
  92. 0x13BF7741L,0xA7E8,0x11CF,0xAD,0x07,0x00,0xA0,0xC9,0x03,0x49,0x65);
  93.  
  94.  
  95. #endif //__APPGUID_H__
  96.  
  97.