home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / atl / minimal / minimal.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  1KB  |  38 lines

  1. // minimal.h : interface declarations
  2. //
  3. // This is a part of the Active Template Library.
  4. // Copyright (C) 1996-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Active Template Library Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Active Template Library product.
  12.  
  13. #ifndef _MINIMAL_H
  14. #define _MINIMAL_H
  15.  
  16. // We could have used MIDL and IDL to define our custom interfaces,
  17. // IID's and CLSID's. Here, assuming that we do not need any
  18. // proxy/stub, we bypass MIDL and have our own header.
  19.  
  20. ////////////////////////////////////////////////////////////////////////////
  21. // {A4E6EAE8-E19A-11CF-9203-00A0C903976F}
  22. DEFINE_GUID(IID_IMinObj,
  23. 0xA4E6EAE8, 0xE19A, 0x11CF, 0x92, 0x03, 0x00, 0xA0, 0xC9, 0x03, 0x97, 0x6F);
  24.  
  25. interface IMinObj : public IUnknown
  26. {
  27. public:
  28.     STDMETHOD(Hello)() = 0 ;
  29. };
  30.  
  31. ////////////////////////////////////////////////////////////////////////////
  32. // {A4E6EAEC-E19A-11CF-9203-00A0C903976F}
  33. DEFINE_GUID(CLSID_CMinObj,
  34. 0xA4E6EAEC, 0xE19A, 0x11CF, 0x92, 0x03, 0x00, 0xA0, 0xC9, 0x03, 0x97, 0x6F);
  35.  
  36.  
  37. #endif // _MINIMAL_H
  38.