Fixes for compilation on Linux

svn path=/trunk/; revision=2207
This commit is contained in:
David Welch 2001-08-30 23:01:30 +00:00
parent a5d8a7ac82
commit bb328ae107
9 changed files with 12 additions and 12 deletions

View file

@ -30,7 +30,7 @@ Cambridge, MA 02139, USA.
#ifndef _OBJBASE #ifndef _OBJBASE
#define _OBJBASE #define _OBJBASE
#include <ole32\guiddef.h> #include <ole32/guiddef.h>
#ifndef EXTERN_C #ifndef EXTERN_C

View file

@ -28,7 +28,7 @@ Cambridge, MA 02139, USA.
********************************************************************/ ********************************************************************/
#define INITGUID #define INITGUID
#include "ole32.h" #include "Ole32.h"
// //
// lCOMLockCount is a reference count, when it reaches 0, all COM libraries are freed // lCOMLockCount is a reference count, when it reaches 0, all COM libraries are freed

View file

@ -27,7 +27,7 @@ Cambridge, MA 02139, USA.
********************************************************************/ ********************************************************************/
#include "ole32.h" #include "Ole32.h"
BOOL WINAPI DllMain(HINSTANCE hInst, DWORD reason, LPVOID reserved) BOOL WINAPI DllMain(HINSTANCE hInst, DWORD reason, LPVOID reserved)
{ {

View file

@ -27,7 +27,7 @@ Cambridge, MA 02139, USA.
********************************************************************/ ********************************************************************/
#include "ole32.h" #include "Ole32.h"
/*WINOLEAPI PropVariantClear(PROPVARIANT *pvar){return S_OK;} /*WINOLEAPI PropVariantClear(PROPVARIANT *pvar){return S_OK;}
WINOLEAPI FreePropVariantArray( WINOLEAPI FreePropVariantArray(

View file

@ -35,9 +35,9 @@ Cambridge, MA 02139, USA.
#include <windows.h> #include <windows.h>
//#include <ole32\basetyps.h> //#include <ole32\basetyps.h>
//#include <ole32\guiddef.h> //#include <ole32\guiddef.h>
#include <ole32\winerror.h> #include <ole32/winerror.h>
//#include <ole32\unknwn.h> //#include <ole32\unknwn.h>
#include <ole32\objbase.h> #include <ole32/objbase.h>
#endif #endif

View file

@ -27,10 +27,10 @@ Cambridge, MA 02139, USA.
********************************************************************/ ********************************************************************/
#include "ole32.h" #include "Ole32.h"
/*WINOLEAPI CreateErrorInfo(ICreateErrorInfo **pperrinfo){return S_OK;} /*WINOLEAPI CreateErrorInfo(ICreateErrorInfo **pperrinfo){return S_OK;}
WINOLEAPI GetErrorInfo( WINOLEAPI GetErrorInfo(
DWORD dwReserved, DWORD dwReserved,
IErrorInfo **pperrinfo IErrorInfo **pperrinfo
){return S_OK;}*/ ){return S_OK;}*/

View file

@ -27,7 +27,7 @@ Cambridge, MA 02139, USA.
********************************************************************/ ********************************************************************/
#include "ole32.h" #include "Ole32.h"
/* /*
// //

View file

@ -27,7 +27,7 @@ Cambridge, MA 02139, USA.
********************************************************************/ ********************************************************************/
#include "ole32.h" #include "Ole32.h"
#if 0 #if 0
WINOLEAPI_(DWORD) OleBuildVersion( VOID ){return S_OK;} WINOLEAPI_(DWORD) OleBuildVersion( VOID ){return S_OK;}

View file

@ -27,7 +27,7 @@ Cambridge, MA 02139, USA.
********************************************************************/ ********************************************************************/
#include "ole32.h" #include "Ole32.h"
/*WINOLEAPI StgCreatePropStg( IUnknown* pUnk, REFFMTID fmtid, const CLSID *pclsid, DWORD grfFlags, DWORD dwReserved, IPropertyStorage **ppPropStg ){return S_OK;} /*WINOLEAPI StgCreatePropStg( IUnknown* pUnk, REFFMTID fmtid, const CLSID *pclsid, DWORD grfFlags, DWORD dwReserved, IPropertyStorage **ppPropStg ){return S_OK;}
WINOLEAPI StgOpenPropStg( IUnknown* pUnk, REFFMTID fmtid, DWORD grfFlags, DWORD dwReserved, IPropertyStorage **ppPropStg ){return S_OK;} WINOLEAPI StgOpenPropStg( IUnknown* pUnk, REFFMTID fmtid, DWORD grfFlags, DWORD dwReserved, IPropertyStorage **ppPropStg ){return S_OK;}
@ -163,4 +163,4 @@ WINOLEAPI StgOpenStorageEx (IN const WCHAR* pwcsName,
OUT void ** ppObjectOpen) OUT void ** ppObjectOpen)
{ {
return S_OK; return S_OK;
}*/ }*/