Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

OLE.h

Go to the documentation of this file.
00001 #ifndef _WINNT_OLE_H_
00002 #define _WINNT_OLE_H_
00003 
00004 #define UNICODE
00005 #include <windowsx.h>
00006 
00007 #include "OSDependent/OSDependent.h"
00008 
00009 #ifdef WIN16   
00010   #include <ole2.h>
00011   #include <compobj.h>    
00012   #include <dispatch.h> 
00013   #include <variant.h>
00014   #include <olenls.h> 
00015 #endif
00016 #include <stdarg.h> 
00017 
00018 #ifdef WIN16
00019   #define LPCTSTR LPCSTR
00020   #define LPOLESTR LPSTR
00021 #endif
00022 #include <objbase.h>
00023 #include <initguid.h>
00024 #include <stdio.h>
00025 #include <tchar.h>
00026 
00027 class ClassExport OLE {
00028 protected:
00029   HRESULT countArgsInFormat(LPCTSTR pszFmt, UINT FAR *pn);
00030   LPCTSTR getNextVarType(LPCTSTR pszFmt, VARTYPE FAR* pvt);
00031   HRESULT createObject(LPOLESTR pszProgID, IDispatch FAR* FAR* ppdisp);
00032   HRESULT invoke(LPDISPATCH pdisp, WORD wFlags, LPVARIANT pvRet, 
00033     EXCEPINFO FAR* pexcepinfo, UINT FAR* pnArgErr, LPOLESTR pszName,
00034     LPCTSTR pszFmt, ...);
00035 };
00036 
00037 #endif  // _WINNT_OLE_H_

Generated on Mon Oct 7 09:33:29 2002 for Gaia by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001