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

  1. // DrawObj.cpp : Implementation of CDrawServApp and DLL registration.
  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. #include "predraw.h"
  14. #include "DrawServ.h"
  15. #include "DrawObj.h"
  16.  
  17. /////////////////////////////////////////////////////////////////////////////
  18. //
  19.  
  20. STDMETHODIMP CDrawObj::InterfaceSupportsErrorInfo(REFIID riid)
  21. {
  22.     if (riid == IID_IDrawServ)
  23.         return S_OK;
  24.     return S_FALSE;
  25. }
  26.