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

  1. // Microsoft Visual Studio Object Model
  2. // Copyright (C) 1996-1997 Microsoft Corporation
  3. // All rights reserved.
  4.  
  5. /////////////////////////////////////////////////////////////////////////////
  6. // textguid.h
  7.  
  8. // Declaration of GUIDs used for objects found in the type library
  9. //  VISUAL STUDIO 97 TEXT EDITOR (SharedIDE\bin\devedit.pkg)
  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 <textguid.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 __TEXTGUID_H__
  21. #define __TEXTGUID_H__
  22.  
  23.  
  24. /////////////////////////////////////////////////////////////////////////
  25. // TextDocument Object IID
  26.  
  27. // {2A6DF201-8240-11CF-AB59-00AA00C091A1}
  28. struct __declspec(uuid("{2A6DF201-8240-11CF-AB59-00AA00C091A1}")) ITextDocument;
  29. DEFINE_GUID(IID_ITextDocument,
  30. 0x2A6DF201L,0x8240,0x11CF,0xAB,0x59,0x00,0xAA,0x00,0xC0,0x91,0xA1);
  31.  
  32.  
  33. /////////////////////////////////////////////////////////////////////////
  34. // TextSelection Object IID
  35.  
  36. // {05092F20-833F-11CF-AB59-00AA00C091A1}
  37. struct __declspec(uuid("{05092F20-833F-11CF-AB59-00AA00C091A1}")) ITextSelection;
  38. DEFINE_GUID(IID_ITextSelection,
  39. 0x05092F20L,0x833F,0x11CF,0xAB,0x59,0x00,0xAA,0x00,0xC0,0x91,0xA1);
  40.  
  41.  
  42. /////////////////////////////////////////////////////////////////////////
  43. // TextWindow Object IID
  44.  
  45. // {08541520-83D3-11CF-AB59-00AA00C091A1}
  46. struct __declspec(uuid("{08541520-83D3-11CF-AB59-00AA00C091A1}")) ITextWindow;
  47. DEFINE_GUID(IID_ITextWindow,
  48. 0x08541520L,0x83D3,0x11CF,0xAB,0x59,0x00,0xAA,0x00,0xC0,0x91,0xA1);
  49.  
  50.  
  51. /////////////////////////////////////////////////////////////////////////
  52. // TextEditor Object IID
  53.  
  54. // {0DE5B3A0-A420-11cf-AB59-00AA00C091A1}
  55. struct __declspec(uuid("{0DE5B3A0-A420-11cf-AB59-00AA00C091A1}")) ITextEditor;
  56. DEFINE_GUID(IID_ITextEditor,
  57. 0x0DE5B3A0L,0xA420,0x11CF,0xAB,0x59,0x00,0xAA,0x00,0xC0,0x91,0xA1);
  58.  
  59.  
  60. #endif // __TEXTGUID_H__
  61.  
  62.