home *** CD-ROM | disk | FTP | other *** search
- /*
- * TstMacro.h
- * $Header: /bcsample/IFACEDLL/TSTMACRO.H 1 5/28/96 1:12p Dave $
- *
- * Description:
- * Macro that declares the IUnknown virtual functions. This macro is
- * intended for use by classes that derive from the CIUnknown class.
- *
- * Notes:
- * <implementation notes go here>
- *
- ***********************************************************************
- *
- * NuMega Technologies, Inc.
- * P.O. Box 7780
- * Nashua, NH 03060
- *
- * (c) Copyright 1994, 1995, 1996 NuMega Technologies, Inc.
- * ALL RIGHTS RESERVED.
- *
- ***********************************************************************
- *
- **********************************************************************/
-
- /*----------------------------------------------------------------------
- DISCUSSION :
- The macros that should be used to ease adding interfaces to the
- Interface Test object.
- ----------------------------------------------------------------------*/
- #ifndef _TSTMACRO_H
- #define _TSTMACRO_H
-
- // Who whats to type the IUnknown functions over and over?
- #define DECLARE_IUNKNOWNFNS() \
- STDMETHODIMP QueryInterface ( REFIID , PPVOID ) ; \
- STDMETHODIMP_( ULONG ) AddRef ( void ) ; \
- STDMETHODIMP_( ULONG ) Release ( void )
-
- #endif // _TSTMACRO_H
-
-
-