home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / numega / sc501.exe / data1.cab / Examples / IQUERYI.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-25  |  1.3 KB  |  45 lines

  1. /*
  2.  * IQueryI.h
  3.  * $Header: /bcsample/IFACEDLL/IQUERYI.H 1     5/28/96 1:12p Dave $
  4.  *
  5.  * Description:
  6.  *  This file the base interface that all OLE Interface implementations in
  7.  *  this project must support.  The InternalQueryInterface is called by the
  8.  *  controlling unknown to determine if a particular interface in the vtable
  9.  *  is the one requested by the caller of QueryInterface.
  10.  *
  11.  * Notes:
  12.  *  <implementation notes go here>
  13.  *
  14.  ***********************************************************************
  15.  *
  16.  * NuMega Technologies, Inc.
  17.  * P.O. Box 7780
  18.  * Nashua, NH 03060
  19.  *
  20.  * (c) Copyright 1994, 1995, 1996 NuMega Technologies, Inc.
  21.  * ALL RIGHTS RESERVED.
  22.  *
  23.  ***********************************************************************
  24.  *
  25.  **********************************************************************/
  26.  
  27. #ifndef _IQUERYI_H
  28. #define _IQUERYI_H
  29.  
  30. // The simple internal query interface that we use as a class if it
  31. //  supports a specific interface.
  32. class CInternalQuery
  33. {
  34. public      :
  35.     CInternalQuery ( ) { } ;
  36.     virtual ~CInternalQuery ( ) { } ;
  37.     virtual STDMETHODIMP InternalQueryInterface ( REFIID riid ,
  38.                                                   PPVOID ppv   ) = 0;
  39. } ;
  40.  
  41. typedef CInternalQuery * PCInternalQuery ;
  42. #endif
  43.  
  44.  
  45.