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

  1. // Microsoft Visual Studio Object Model
  2. // Copyright (C) 1996-1997 Microsoft Corporation
  3. // All rights reserved.
  4.  
  5. /////////////////////////////////////////////////////////////////////////////
  6. // addguid.h
  7.  
  8. // Declaration of interface GUID for IDSAddIn.  IDSAddIn is defined in
  9. //  addauto.h
  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 <addguid.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 __ADDGUID_H__
  21. #define __ADDGUID_H__
  22.  
  23. // {C0002F81-AE2E-11cf-AD07-00A0C9034965}
  24. struct __declspec(uuid("{C0002F81-AE2E-11cf-AD07-00A0C9034965}")) IDSAddIn;
  25. DEFINE_GUID(IID_IDSAddIn, 
  26. 0xc0002f81, 0xae2e, 0x11cf, 0xad, 0x7, 0x0, 0xa0, 0xc9, 0x3, 0x49, 0x65);
  27.  
  28.  
  29. #endif //__ADDGUID_H__
  30.