
/* This file is automatically generated; do not edit. */

/* Copyright 1998 Functional Objects, Inc.  All rights reserved. */

#include <oleidl.h>

#include "ole-aux.c"

#include "c-ole.h"

// Suppress warning: "formal parameter 1 different from declaration"
#pragma warning (disable : 4028)


	/*  IOleAdviseHolder  */

HRESULT C_IOleAdviseHolder_Advise ( 
	    IOleAdviseHolder __RPC_FAR * This, 
	    /* [unique][in] */ IAdviseSink __RPC_FAR *pAdvise,
	    /* [out] */ DWORD __RPC_FAR *pdwConnection) {
  return This->lpVtbl->Advise(This,pAdvise,pdwConnection);
}

HRESULT C_IOleAdviseHolder_Unadvise ( 
	    IOleAdviseHolder __RPC_FAR * This, 
	    /* [in] */ DWORD dwConnection) {
  return This->lpVtbl->Unadvise(This,dwConnection);
}

HRESULT C_IOleAdviseHolder_EnumAdvise ( 
	    IOleAdviseHolder __RPC_FAR * This, 
	    /* [out] */ IEnumSTATDATA __RPC_FAR *__RPC_FAR *ppenumAdvise) {
  return This->lpVtbl->EnumAdvise(This,ppenumAdvise);
}

HRESULT C_IOleAdviseHolder_SendOnRename ( 
	    IOleAdviseHolder __RPC_FAR * This, 
	    /* [unique][in] */ IMoniker __RPC_FAR *pmk) {
  return This->lpVtbl->SendOnRename(This,pmk);
}

HRESULT C_IOleAdviseHolder_SendOnSave (
		IOleAdviseHolder __RPC_FAR * This) {
  return This->lpVtbl->SendOnSave(This);
}

HRESULT C_IOleAdviseHolder_SendOnClose (
		IOleAdviseHolder __RPC_FAR * This) {
  return This->lpVtbl->SendOnClose(This);
}

	/*  IOleCache  */

HRESULT C_IOleCache_Cache ( 
	    IOleCache __RPC_FAR * This, 
	    /* [unique][in] */ FORMATETC __RPC_FAR *pformatetc,
	    /* [in] */ DWORD advf,
	    /* [out] */ DWORD __RPC_FAR *pdwConnection) {
  return This->lpVtbl->Cache(This,pformatetc,advf,pdwConnection);
}

HRESULT C_IOleCache_Uncache ( 
	    IOleCache __RPC_FAR * This, 
	    /* [in] */ DWORD dwConnection) {
  return This->lpVtbl->Uncache(This,dwConnection);
}

HRESULT C_IOleCache_EnumCache ( 
	    IOleCache __RPC_FAR * This, 
	    /* [out] */ IEnumSTATDATA __RPC_FAR *__RPC_FAR *ppenumSTATDATA) {
  return This->lpVtbl->EnumCache(This,ppenumSTATDATA);
}

HRESULT C_IOleCache_InitCache ( 
	    IOleCache __RPC_FAR * This, 
	    /* [unique][in] */ IDataObject __RPC_FAR *pDataObject) {
  return This->lpVtbl->InitCache(This,pDataObject);
}

HRESULT C_IOleCache_SetData ( 
	    IOleCache __RPC_FAR * This, 
	    /* [unique][in] */ FORMATETC __RPC_FAR *pformatetc,
	    /* [unique][in] */ STGMEDIUM __RPC_FAR *pmedium,
	    /* [in] */ BOOL fRelease) {
  return This->lpVtbl->SetData(This,pformatetc,pmedium,fRelease);
}

struct IOleCacheVtbl
IOleCache_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release, DW_IOleCache_Cache,
		DW_IOleCache_Uncache, DW_IOleCache_EnumCache,
		DW_IOleCache_InitCache, DW_IOleCache_SetData};


	/*  IOleCache2  */

HRESULT C_IOleCache2_UpdateCache ( 
	    IOleCache2 __RPC_FAR * This, 
	    /* [in] */ LPDATAOBJECT pDataObject,
	    /* [in] */ DWORD grfUpdf,
	    /* [in] */ LPVOID pReserved) {
  return This->lpVtbl->UpdateCache(This,pDataObject,grfUpdf,
		pReserved);
}

HRESULT C_IOleCache2_DiscardCache ( 
	    IOleCache2 __RPC_FAR * This, 
	    /* [in] */ DWORD dwDiscardOptions) {
  return This->lpVtbl->DiscardCache(This,dwDiscardOptions);
}

struct IOleCache2Vtbl
IOleCache2_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release, DW_IOleCache_Cache,
		DW_IOleCache_Uncache, DW_IOleCache_EnumCache,
		DW_IOleCache_InitCache, DW_IOleCache_SetData,
		DW_IOleCache2_UpdateCache, DW_IOleCache2_DiscardCache};


	/*  IOleCacheControl  */

HRESULT C_IOleCacheControl_OnRun ( 
	    IOleCacheControl __RPC_FAR * This, 
	    LPDATAOBJECT pDataObject) {
  return This->lpVtbl->OnRun(This,pDataObject);
}

HRESULT C_IOleCacheControl_OnStop (
		IOleCacheControl __RPC_FAR * This) {
  return This->lpVtbl->OnStop(This);
}

	/*  IParseDisplayName  */

HRESULT C_IParseDisplayName_ParseDisplayName ( 
	    IParseDisplayName __RPC_FAR * This, 
	    /* [unique][in] */ IBindCtx __RPC_FAR *pbc,
	    /* [in] */ LPOLESTR pszDisplayName,
	    /* [out] */ ULONG __RPC_FAR *pchEaten,
	    /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmkOut) {
  return This->lpVtbl->ParseDisplayName(This,pbc,pszDisplayName,
		pchEaten,ppmkOut);
}

struct IParseDisplayNameVtbl
IParseDisplayName_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IParseDisplayName_ParseDisplayName};


	/*  IOleContainer  */

HRESULT C_IOleContainer_EnumObjects ( 
	    IOleContainer __RPC_FAR * This, 
	    /* [in] */ DWORD grfFlags,
	    /* [out] */ IEnumUnknown __RPC_FAR *__RPC_FAR *ppenum) {
  return This->lpVtbl->EnumObjects(This,grfFlags,ppenum);
}

HRESULT C_IOleContainer_LockContainer ( 
	    IOleContainer __RPC_FAR * This, 
	    /* [in] */ BOOL fLock) {
  return This->lpVtbl->LockContainer(This,fLock);
}

struct IOleContainerVtbl
IOleContainer_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IParseDisplayName_ParseDisplayName,
		DW_IOleContainer_EnumObjects, DW_IOleContainer_LockContainer};


	/*  IOleClientSite  */

HRESULT C_IOleClientSite_SaveObject (
		IOleClientSite __RPC_FAR * This) {
  return This->lpVtbl->SaveObject(This);
}

HRESULT C_IOleClientSite_GetMoniker ( 
	    IOleClientSite __RPC_FAR * This, 
	    /* [in] */ DWORD dwAssign,
	    /* [in] */ DWORD dwWhichMoniker,
	    /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk) {
  return This->lpVtbl->GetMoniker(This,dwAssign,dwWhichMoniker,
		ppmk);
}

HRESULT C_IOleClientSite_GetContainer ( 
	    IOleClientSite __RPC_FAR * This, 
	    /* [out] */ IOleContainer __RPC_FAR *__RPC_FAR *ppContainer) {
  return This->lpVtbl->GetContainer(This,ppContainer);
}

HRESULT C_IOleClientSite_ShowObject (
		IOleClientSite __RPC_FAR * This) {
  return This->lpVtbl->ShowObject(This);
}

HRESULT C_IOleClientSite_OnShowWindow ( 
	    IOleClientSite __RPC_FAR * This, 
	    /* [in] */ BOOL fShow) {
  return This->lpVtbl->OnShowWindow(This,fShow);
}

HRESULT C_IOleClientSite_RequestNewObjectLayout (
		IOleClientSite __RPC_FAR * This) {
  return This->lpVtbl->RequestNewObjectLayout(This);
}

struct IOleClientSiteVtbl
IOleClientSite_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IOleClientSite_SaveObject, DW_IOleClientSite_GetMoniker,
		DW_IOleClientSite_GetContainer, DW_IOleClientSite_ShowObject,
		DW_IOleClientSite_OnShowWindow,
		DW_IOleClientSite_RequestNewObjectLayout};


	/*  IOleObject  */

HRESULT C_IOleObject_SetClientSite ( 
	    IOleObject __RPC_FAR * This, 
	    /* [unique][in] */ IOleClientSite __RPC_FAR *pClientSite) {
  return This->lpVtbl->SetClientSite(This,pClientSite);
}

HRESULT C_IOleObject_GetClientSite ( 
	    IOleObject __RPC_FAR * This, 
	    /* [out] */ IOleClientSite __RPC_FAR *__RPC_FAR *ppClientSite) {
  return This->lpVtbl->GetClientSite(This,ppClientSite);
}

HRESULT C_IOleObject_SetHostNames ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ LPCOLESTR szContainerApp,
	    /* [unique][in] */ LPCOLESTR szContainerObj) {
  return This->lpVtbl->SetHostNames(This,szContainerApp,
		szContainerObj);
}

HRESULT C_IOleObject_Close ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwSaveOption) {
  return This->lpVtbl->Close(This,dwSaveOption);
}

HRESULT C_IOleObject_SetMoniker ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwWhichMoniker,
	    /* [unique][in] */ IMoniker __RPC_FAR *pmk) {
  return This->lpVtbl->SetMoniker(This,dwWhichMoniker,pmk);
}

HRESULT C_IOleObject_GetMoniker ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwAssign,
	    /* [in] */ DWORD dwWhichMoniker,
	    /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk) {
  return This->lpVtbl->GetMoniker(This,dwAssign,dwWhichMoniker,
		ppmk);
}

HRESULT C_IOleObject_InitFromData ( 
	    IOleObject __RPC_FAR * This, 
	    /* [unique][in] */ IDataObject __RPC_FAR *pDataObject,
	    /* [in] */ BOOL fCreation,
	    /* [in] */ DWORD dwReserved) {
  return This->lpVtbl->InitFromData(This,pDataObject,fCreation,
		dwReserved);
}

HRESULT C_IOleObject_GetClipboardData ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwReserved,
	    /* [out] */ IDataObject __RPC_FAR *__RPC_FAR *ppDataObject) {
  return This->lpVtbl->GetClipboardData(This,dwReserved,
		ppDataObject);
}

HRESULT C_IOleObject_DoVerb ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ LONG iVerb,
	    /* [unique][in] */ LPMSG lpmsg,
	    /* [unique][in] */ IOleClientSite __RPC_FAR *pActiveSite,
	    /* [in] */ LONG lindex,
	    /* [in] */ HWND hwndParent,
	    /* [unique][in] */ LPCRECT lprcPosRect) {
  return This->lpVtbl->DoVerb(This,iVerb,lpmsg,pActiveSite,
		lindex,hwndParent,lprcPosRect);
}

HRESULT C_IOleObject_EnumVerbs ( 
	    IOleObject __RPC_FAR * This, 
	    /* [out] */ IEnumOLEVERB __RPC_FAR *__RPC_FAR *ppEnumOleVerb) {
  return This->lpVtbl->EnumVerbs(This,ppEnumOleVerb);
}

HRESULT C_IOleObject_Update (
		IOleObject __RPC_FAR * This) {
  return This->lpVtbl->Update(This);
}

HRESULT C_IOleObject_IsUpToDate (
		IOleObject __RPC_FAR * This) {
  return This->lpVtbl->IsUpToDate(This);
}

HRESULT C_IOleObject_GetUserClassID ( 
	    IOleObject __RPC_FAR * This, 
	    /* [out] */ CLSID __RPC_FAR *pClsid) {
  return This->lpVtbl->GetUserClassID(This,pClsid);
}

HRESULT C_IOleObject_GetUserType ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwFormOfType,
	    /* [out] */ LPOLESTR __RPC_FAR *pszUserType) {
  return This->lpVtbl->GetUserType(This,dwFormOfType,pszUserType);
}

HRESULT C_IOleObject_SetExtent ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwDrawAspect,
	    /* [in] */ SIZEL __RPC_FAR *psizel) {
  return This->lpVtbl->SetExtent(This,dwDrawAspect,psizel);
}

HRESULT C_IOleObject_GetExtent ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwDrawAspect,
	    /* [out] */ SIZEL __RPC_FAR *psizel) {
  return This->lpVtbl->GetExtent(This,dwDrawAspect,psizel);
}

HRESULT C_IOleObject_Advise ( 
	    IOleObject __RPC_FAR * This, 
	    /* [unique][in] */ IAdviseSink __RPC_FAR *pAdvSink,
	    /* [out] */ DWORD __RPC_FAR *pdwConnection) {
  return This->lpVtbl->Advise(This,pAdvSink,pdwConnection);
}

HRESULT C_IOleObject_Unadvise ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwConnection) {
  return This->lpVtbl->Unadvise(This,dwConnection);
}

HRESULT C_IOleObject_EnumAdvise ( 
	    IOleObject __RPC_FAR * This, 
	    /* [out] */ IEnumSTATDATA __RPC_FAR *__RPC_FAR *ppenumAdvise) {
  return This->lpVtbl->EnumAdvise(This,ppenumAdvise);
}

HRESULT C_IOleObject_GetMiscStatus ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwAspect,
	    /* [out] */ DWORD __RPC_FAR *pdwStatus) {
  return This->lpVtbl->GetMiscStatus(This,dwAspect,pdwStatus);
}

HRESULT C_IOleObject_SetColorScheme ( 
	    IOleObject __RPC_FAR * This, 
	    /* [in] */ LOGPALETTE __RPC_FAR *pLogpal) {
  return This->lpVtbl->SetColorScheme(This,pLogpal);
}

struct IOleObjectVtbl
IOleObject_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IOleObject_SetClientSite, DW_IOleObject_GetClientSite,
		DW_IOleObject_SetHostNames, DW_IOleObject_Close,
		DW_IOleObject_SetMoniker, DW_IOleObject_GetMoniker,
		DW_IOleObject_InitFromData, DW_IOleObject_GetClipboardData,
		DW_IOleObject_DoVerb, DW_IOleObject_EnumVerbs,
		DW_IOleObject_Update, DW_IOleObject_IsUpToDate,
		DW_IOleObject_GetUserClassID, DW_IOleObject_GetUserType,
		DW_IOleObject_SetExtent, DW_IOleObject_GetExtent,
		DW_IOleObject_Advise, DW_IOleObject_Unadvise,
		DW_IOleObject_EnumAdvise, DW_IOleObject_GetMiscStatus,
		DW_IOleObject_SetColorScheme};


	/*  IOleWindow  */

HRESULT C_IOleWindow_GetWindow ( 
	    IOleWindow __RPC_FAR * This, 
	    /* [out] */ HWND __RPC_FAR *phwnd) {
  return This->lpVtbl->GetWindow(This,phwnd);
}

HRESULT C_IOleWindow_ContextSensitiveHelp ( 
	    IOleWindow __RPC_FAR * This, 
	    /* [in] */ BOOL fEnterMode) {
  return This->lpVtbl->ContextSensitiveHelp(This,fEnterMode);
}

struct IOleWindowVtbl
IOleWindow_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IOleWindow_GetWindow, DW_IOleWindow_ContextSensitiveHelp};


	/*  IOleLink  */

HRESULT C_IOleLink_SetUpdateOptions ( 
	    IOleLink __RPC_FAR * This, 
	    /* [in] */ DWORD dwUpdateOpt) {
  return This->lpVtbl->SetUpdateOptions(This,dwUpdateOpt);
}

HRESULT C_IOleLink_GetUpdateOptions ( 
	    IOleLink __RPC_FAR * This, 
	    /* [out] */ DWORD __RPC_FAR *pdwUpdateOpt) {
  return This->lpVtbl->GetUpdateOptions(This,pdwUpdateOpt);
}

HRESULT C_IOleLink_SetSourceMoniker ( 
	    IOleLink __RPC_FAR * This, 
	    /* [unique][in] */ IMoniker __RPC_FAR *pmk,
	    /* [in] */ REFCLSID rclsid) {
  return This->lpVtbl->SetSourceMoniker(This,pmk,rclsid);
}

HRESULT C_IOleLink_GetSourceMoniker ( 
	    IOleLink __RPC_FAR * This, 
	    /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk) {
  return This->lpVtbl->GetSourceMoniker(This,ppmk);
}

HRESULT C_IOleLink_SetSourceDisplayName ( 
	    IOleLink __RPC_FAR * This, 
	    /* [in] */ LPCOLESTR pszStatusText) {
  return This->lpVtbl->SetSourceDisplayName(This,pszStatusText);
}

HRESULT C_IOleLink_GetSourceDisplayName ( 
	    IOleLink __RPC_FAR * This, 
	    /* [out] */ LPOLESTR __RPC_FAR *ppszDisplayName) {
  return This->lpVtbl->GetSourceDisplayName(This,ppszDisplayName);
}

HRESULT C_IOleLink_BindToSource ( 
	    IOleLink __RPC_FAR * This, 
	    /* [in] */ DWORD bindflags,
	    /* [unique][in] */ IBindCtx __RPC_FAR *pbc) {
  return This->lpVtbl->BindToSource(This,bindflags,pbc);
}

HRESULT C_IOleLink_BindIfRunning (
		IOleLink __RPC_FAR * This) {
  return This->lpVtbl->BindIfRunning(This);
}

HRESULT C_IOleLink_GetBoundSource ( 
	    IOleLink __RPC_FAR * This, 
	    /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunk) {
  return This->lpVtbl->GetBoundSource(This,ppunk);
}

HRESULT C_IOleLink_UnbindSource (
		IOleLink __RPC_FAR * This) {
  return This->lpVtbl->UnbindSource(This);
}

HRESULT C_IOleLink_Update ( 
	    IOleLink __RPC_FAR * This, 
	    /* [unique][in] */ IBindCtx __RPC_FAR *pbc) {
  return This->lpVtbl->Update(This,pbc);
}

	/*  IOleItemContainer  */

HRESULT C_IOleItemContainer_GetObject ( 
	    IOleItemContainer __RPC_FAR * This, 
	    /* [in] */ LPOLESTR pszItem,
	    /* [in] */ DWORD dwSpeedNeeded,
	    /* [unique][in] */ IBindCtx __RPC_FAR *pbc,
	    /* [in] */ REFIID riid,
	    /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject) {
  return This->lpVtbl->GetObject(This,pszItem,dwSpeedNeeded,pbc,
		riid,ppvObject);
}

HRESULT C_IOleItemContainer_GetObjectStorage ( 
	    IOleItemContainer __RPC_FAR * This, 
	    /* [in] */ LPOLESTR pszItem,
	    /* [unique][in] */ IBindCtx __RPC_FAR *pbc,
	    /* [in] */ REFIID riid,
	    /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvStorage) {
  return This->lpVtbl->GetObjectStorage(This,pszItem,pbc,riid,
		ppvStorage);
}

HRESULT C_IOleItemContainer_IsRunning ( 
	    IOleItemContainer __RPC_FAR * This, 
	    /* [in] */ LPOLESTR pszItem) {
  return This->lpVtbl->IsRunning(This,pszItem);
}

struct IOleItemContainerVtbl
IOleItemContainer_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IParseDisplayName_ParseDisplayName,
		DW_IOleContainer_EnumObjects, DW_IOleContainer_LockContainer,
		DW_IOleItemContainer_GetObject,
		DW_IOleItemContainer_GetObjectStorage,
		DW_IOleItemContainer_IsRunning};


	/*  IOleInPlaceUIWindow  */

HRESULT C_IOleInPlaceUIWindow_GetBorder ( 
	    IOleInPlaceUIWindow __RPC_FAR * This, 
	    /* [out] */ LPRECT lprectBorder) {
  return This->lpVtbl->GetBorder(This,lprectBorder);
}

HRESULT C_IOleInPlaceUIWindow_RequestBorderSpace ( 
	    IOleInPlaceUIWindow __RPC_FAR * This, 
	    /* [unique][in] */ LPCBORDERWIDTHS pborderwidths) {
  return This->lpVtbl->RequestBorderSpace(This,pborderwidths);
}

HRESULT C_IOleInPlaceUIWindow_SetBorderSpace ( 
	    IOleInPlaceUIWindow __RPC_FAR * This, 
	    /* [unique][in] */ LPCBORDERWIDTHS pborderwidths) {
  return This->lpVtbl->SetBorderSpace(This,pborderwidths);
}

HRESULT C_IOleInPlaceUIWindow_SetActiveObject ( 
	    IOleInPlaceUIWindow __RPC_FAR * This, 
	    /* [unique][in] */ IOleInPlaceActiveObject __RPC_FAR *pActiveObject,
	    /* [unique][string][in] */ LPCOLESTR pszObjName) {
  return This->lpVtbl->SetActiveObject(This,pActiveObject,
		pszObjName);
}

struct IOleInPlaceUIWindowVtbl
IOleInPlaceUIWindow_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IOleWindow_GetWindow, DW_IOleWindow_ContextSensitiveHelp,
		DW_IOleInPlaceUIWindow_GetBorder,
		DW_IOleInPlaceUIWindow_RequestBorderSpace,
		DW_IOleInPlaceUIWindow_SetBorderSpace,
		DW_IOleInPlaceUIWindow_SetActiveObject};


	/*  IOleInPlaceActiveObject  */

HRESULT C_IOleInPlaceActiveObject_TranslateAccelerator ( 
	    IOleInPlaceActiveObject __RPC_FAR * This, 
	    /* [in] */ LPMSG lpmsg) {
  return This->lpVtbl->TranslateAccelerator(This,lpmsg);
}

HRESULT C_IOleInPlaceActiveObject_OnFrameWindowActivate ( 
	    IOleInPlaceActiveObject __RPC_FAR * This, 
	    /* [in] */ BOOL fActivate) {
  return This->lpVtbl->OnFrameWindowActivate(This,fActivate);
}

HRESULT C_IOleInPlaceActiveObject_OnDocWindowActivate ( 
	    IOleInPlaceActiveObject __RPC_FAR * This, 
	    /* [in] */ BOOL fActivate) {
  return This->lpVtbl->OnDocWindowActivate(This,fActivate);
}

HRESULT C_IOleInPlaceActiveObject_ResizeBorder ( 
	    IOleInPlaceActiveObject __RPC_FAR * This, 
	    /* [in] */ LPCRECT prcBorder,
	    /* [unique][in] */ IOleInPlaceUIWindow __RPC_FAR *pUIWindow,
	    /* [in] */ BOOL fFrameWindow) {
  return This->lpVtbl->ResizeBorder(This,prcBorder,pUIWindow,
		fFrameWindow);
}

HRESULT C_IOleInPlaceActiveObject_EnableModeless ( 
	    IOleInPlaceActiveObject __RPC_FAR * This, 
	    /* [in] */ BOOL fEnable) {
  return This->lpVtbl->EnableModeless(This,fEnable);
}

struct IOleInPlaceActiveObjectVtbl
IOleInPlaceActiveObject_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IOleWindow_GetWindow, DW_IOleWindow_ContextSensitiveHelp,
		DW_IOleInPlaceActiveObject_TranslateAccelerator,
		DW_IOleInPlaceActiveObject_OnFrameWindowActivate,
		DW_IOleInPlaceActiveObject_OnDocWindowActivate,
		DW_IOleInPlaceActiveObject_ResizeBorder,
		DW_IOleInPlaceActiveObject_EnableModeless};


	/*  IOleInPlaceFrame  */

HRESULT C_IOleInPlaceFrame_InsertMenus ( 
	    IOleInPlaceFrame __RPC_FAR * This, 
	    /* [in] */ HMENU hmenuShared,
	    /* [out][in] */ LPOLEMENUGROUPWIDTHS lpMenuWidths) {
  return This->lpVtbl->InsertMenus(This,hmenuShared,lpMenuWidths);
}

HRESULT C_IOleInPlaceFrame_SetMenu ( 
	    IOleInPlaceFrame __RPC_FAR * This, 
	    /* [in] */ HMENU hmenuShared,
	    /* [in] */ HOLEMENU holemenu,
	    /* [in] */ HWND hwndActiveObject) {
  return This->lpVtbl->SetMenu(This,hmenuShared,holemenu,
		hwndActiveObject);
}

HRESULT C_IOleInPlaceFrame_RemoveMenus ( 
	    IOleInPlaceFrame __RPC_FAR * This, 
	    /* [in] */ HMENU hmenuShared) {
  return This->lpVtbl->RemoveMenus(This,hmenuShared);
}

HRESULT C_IOleInPlaceFrame_SetStatusText ( 
	    IOleInPlaceFrame __RPC_FAR * This, 
	    /* [unique][in] */ LPCOLESTR pszStatusText) {
  return This->lpVtbl->SetStatusText(This,pszStatusText);
}

HRESULT C_IOleInPlaceFrame_EnableModeless ( 
	    IOleInPlaceFrame __RPC_FAR * This, 
	    /* [in] */ BOOL fEnable) {
  return This->lpVtbl->EnableModeless(This,fEnable);
}

HRESULT C_IOleInPlaceFrame_TranslateAccelerator ( 
	    IOleInPlaceFrame __RPC_FAR * This, 
	    /* [in] */ LPMSG lpmsg,
	    /* [in] */ WORD wID) {
  return This->lpVtbl->TranslateAccelerator(This,lpmsg,wID);
}

struct IOleInPlaceFrameVtbl
IOleInPlaceFrame_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IOleWindow_GetWindow, DW_IOleWindow_ContextSensitiveHelp,
		DW_IOleInPlaceUIWindow_GetBorder,
		DW_IOleInPlaceUIWindow_RequestBorderSpace,
		DW_IOleInPlaceUIWindow_SetBorderSpace,
		DW_IOleInPlaceUIWindow_SetActiveObject,
		DW_IOleInPlaceFrame_InsertMenus, DW_IOleInPlaceFrame_SetMenu,
		DW_IOleInPlaceFrame_RemoveMenus,
		DW_IOleInPlaceFrame_SetStatusText,
		DW_IOleInPlaceFrame_EnableModeless,
		DW_IOleInPlaceFrame_TranslateAccelerator};


	/*  IOleInPlaceObject  */

HRESULT C_IOleInPlaceObject_InPlaceDeactivate (
		IOleInPlaceObject __RPC_FAR * This) {
  return This->lpVtbl->InPlaceDeactivate(This);
}

HRESULT C_IOleInPlaceObject_UIDeactivate (
		IOleInPlaceObject __RPC_FAR * This) {
  return This->lpVtbl->UIDeactivate(This);
}

HRESULT C_IOleInPlaceObject_SetObjectRects ( 
	    IOleInPlaceObject __RPC_FAR * This, 
	    /* [in] */ LPCRECT lprcPosRect,
	    /* [in] */ LPCRECT lprcClipRect) {
  return This->lpVtbl->SetObjectRects(This,lprcPosRect,
		lprcClipRect);
}

HRESULT C_IOleInPlaceObject_ReactivateAndUndo (
		IOleInPlaceObject __RPC_FAR * This) {
  return This->lpVtbl->ReactivateAndUndo(This);
}

struct IOleInPlaceObjectVtbl
IOleInPlaceObject_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IOleWindow_GetWindow, DW_IOleWindow_ContextSensitiveHelp,
		DW_IOleInPlaceObject_InPlaceDeactivate,
		DW_IOleInPlaceObject_UIDeactivate,
		DW_IOleInPlaceObject_SetObjectRects,
		DW_IOleInPlaceObject_ReactivateAndUndo};


	/*  IOleInPlaceSite  */

HRESULT C_IOleInPlaceSite_CanInPlaceActivate (
		IOleInPlaceSite __RPC_FAR * This) {
  return This->lpVtbl->CanInPlaceActivate(This);
}

HRESULT C_IOleInPlaceSite_OnInPlaceActivate (
		IOleInPlaceSite __RPC_FAR * This) {
  return This->lpVtbl->OnInPlaceActivate(This);
}

HRESULT C_IOleInPlaceSite_OnUIActivate (
		IOleInPlaceSite __RPC_FAR * This) {
  return This->lpVtbl->OnUIActivate(This);
}

HRESULT C_IOleInPlaceSite_GetWindowContext ( 
	    IOleInPlaceSite __RPC_FAR * This, 
	    /* [out] */ IOleInPlaceFrame __RPC_FAR *__RPC_FAR *ppFrame,
	    /* [out] */ IOleInPlaceUIWindow __RPC_FAR *__RPC_FAR *ppDoc,
	    /* [out] */ LPRECT lprcPosRect,
	    /* [out] */ LPRECT lprcClipRect,
	    /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo) {
  return This->lpVtbl->GetWindowContext(This,ppFrame,ppDoc,
		lprcPosRect,lprcClipRect,lpFrameInfo);
}

HRESULT C_IOleInPlaceSite_Scroll ( 
	    IOleInPlaceSite __RPC_FAR * This, 
	    /* [in] */ SIZE scrollExtant) {
  return This->lpVtbl->Scroll(This,scrollExtant);
}

HRESULT C_IOleInPlaceSite_OnUIDeactivate ( 
	    IOleInPlaceSite __RPC_FAR * This, 
	    /* [in] */ BOOL fUndoable) {
  return This->lpVtbl->OnUIDeactivate(This,fUndoable);
}

HRESULT C_IOleInPlaceSite_OnInPlaceDeactivate (
		IOleInPlaceSite __RPC_FAR * This) {
  return This->lpVtbl->OnInPlaceDeactivate(This);
}

HRESULT C_IOleInPlaceSite_DiscardUndoState (
		IOleInPlaceSite __RPC_FAR * This) {
  return This->lpVtbl->DiscardUndoState(This);
}

HRESULT C_IOleInPlaceSite_DeactivateAndUndo (
		IOleInPlaceSite __RPC_FAR * This) {
  return This->lpVtbl->DeactivateAndUndo(This);
}

HRESULT C_IOleInPlaceSite_OnPosRectChange ( 
	    IOleInPlaceSite __RPC_FAR * This, 
	    /* [in] */ LPCRECT lprcPosRect) {
  return This->lpVtbl->OnPosRectChange(This,lprcPosRect);
}

struct IOleInPlaceSiteVtbl
IOleInPlaceSite_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IOleWindow_GetWindow, DW_IOleWindow_ContextSensitiveHelp,
		DW_IOleInPlaceSite_CanInPlaceActivate,
		DW_IOleInPlaceSite_OnInPlaceActivate,
		DW_IOleInPlaceSite_OnUIActivate,
		DW_IOleInPlaceSite_GetWindowContext, DW_IOleInPlaceSite_Scroll,
		DW_IOleInPlaceSite_OnUIDeactivate,
		DW_IOleInPlaceSite_OnInPlaceDeactivate,
		DW_IOleInPlaceSite_DiscardUndoState,
		DW_IOleInPlaceSite_DeactivateAndUndo,
		DW_IOleInPlaceSite_OnPosRectChange};


	/*  IContinue  */

HRESULT C_IContinue_FContinue (
		IContinue __RPC_FAR * This) {
  return This->lpVtbl->FContinue(This);
}

struct IContinueVtbl
IContinue_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IContinue_FContinue};


	/*  IViewObject  */

HRESULT C_IViewObject_Draw ( 
	    IViewObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwDrawAspect,
	    /* [in] */ LONG lindex,
	    /* [unique][in] */ void __RPC_FAR *pvAspect,
	    /* [unique][in] */ DVTARGETDEVICE __RPC_FAR *ptd,
	    /* [in] */ HDC hdcTargetDev,
	    /* [in] */ HDC hdcDraw,
	    /* [in] */ LPCRECTL lprcBounds,
	    /* [unique][in] */ LPCRECTL lprcWBounds,
	    /* [in] */ BOOL ( STDMETHODCALLTYPE __RPC_FAR *pfnContinue )( 
	        DWORD dwContinue),
	    /* [in] */ DWORD dwContinue) {
  return This->lpVtbl->Draw(This,dwDrawAspect,lindex,pvAspect,
		ptd,hdcTargetDev,hdcDraw,lprcBounds,lprcWBounds,pfnContinue,
		dwContinue);
}

HRESULT C_IViewObject_GetColorSet ( 
	    IViewObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwDrawAspect,
	    /* [in] */ LONG lindex,
	    /* [unique][in] */ void __RPC_FAR *pvAspect,
	    /* [unique][in] */ DVTARGETDEVICE __RPC_FAR *ptd,
	    /* [in] */ HDC hicTargetDev,
	    /* [out] */ LOGPALETTE __RPC_FAR *__RPC_FAR *ppColorSet) {
  return This->lpVtbl->GetColorSet(This,dwDrawAspect,lindex,
		pvAspect,ptd,hicTargetDev,ppColorSet);
}

HRESULT C_IViewObject_Freeze ( 
	    IViewObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwDrawAspect,
	    /* [in] */ LONG lindex,
	    /* [unique][in] */ void __RPC_FAR *pvAspect,
	    /* [out] */ DWORD __RPC_FAR *pdwFreeze) {
  return This->lpVtbl->Freeze(This,dwDrawAspect,lindex,pvAspect,
		pdwFreeze);
}

HRESULT C_IViewObject_Unfreeze ( 
	    IViewObject __RPC_FAR * This, 
	    /* [in] */ DWORD dwFreeze) {
  return This->lpVtbl->Unfreeze(This,dwFreeze);
}

HRESULT C_IViewObject_SetAdvise ( 
	    IViewObject __RPC_FAR * This, 
	    /* [in] */ DWORD aspects,
	    /* [in] */ DWORD advf,
	    /* [unique][in] */ IAdviseSink __RPC_FAR *pAdvSink) {
  return This->lpVtbl->SetAdvise(This,aspects,advf,pAdvSink);
}

HRESULT C_IViewObject_GetAdvise ( 
	    IViewObject __RPC_FAR * This, 
	    /* [unique][out] */ DWORD __RPC_FAR *pAspects,
	    /* [unique][out] */ DWORD __RPC_FAR *pAdvf,
	    /* [out] */ IAdviseSink __RPC_FAR *__RPC_FAR *ppAdvSink) {
  return This->lpVtbl->GetAdvise(This,pAspects,pAdvf,ppAdvSink);
}

struct IViewObjectVtbl
IViewObject_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release, DW_IViewObject_Draw,
		DW_IViewObject_GetColorSet, DW_IViewObject_Freeze,
		DW_IViewObject_Unfreeze, DW_IViewObject_SetAdvise,
		DW_IViewObject_GetAdvise};


	/*  IViewObject2  */

HRESULT C_IViewObject2_GetExtent ( 
	    IViewObject2 __RPC_FAR * This, 
	    /* [in] */ DWORD dwDrawAspect,
	    /* [in] */ LONG lindex,
	    /* [unique][in] */ DVTARGETDEVICE __RPC_FAR *ptd,
	    /* [out] */ LPSIZEL lpsizel) {
  return This->lpVtbl->GetExtent(This,dwDrawAspect,lindex,ptd,
		lpsizel);
}

struct IViewObject2Vtbl
IViewObject2_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release, DW_IViewObject_Draw,
		DW_IViewObject_GetColorSet, DW_IViewObject_Freeze,
		DW_IViewObject_Unfreeze, DW_IViewObject_SetAdvise,
		DW_IViewObject_GetAdvise, DW_IViewObject2_GetExtent};


	/*  IDropSource  */

HRESULT C_IDropSource_QueryContinueDrag ( 
	    IDropSource __RPC_FAR * This, 
	    /* [in] */ BOOL fEscapePressed,
	    /* [in] */ DWORD grfKeyState) {
  return This->lpVtbl->QueryContinueDrag(This,fEscapePressed,
		grfKeyState);
}

HRESULT C_IDropSource_GiveFeedback ( 
	    IDropSource __RPC_FAR * This, 
	    /* [in] */ DWORD dwEffect) {
  return This->lpVtbl->GiveFeedback(This,dwEffect);
}

struct IDropSourceVtbl
IDropSource_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IDropSource_QueryContinueDrag, DW_IDropSource_GiveFeedback};


	/*  IDropTarget  */

HRESULT C_IDropTarget_DragEnter ( 
	    IDropTarget __RPC_FAR * This, 
	    /* [unique][in] */ IDataObject __RPC_FAR *pDataObj,
	    /* [in] */ DWORD grfKeyState,
	    /* [in] */ POINTL pt,
	    /* [out][in] */ DWORD __RPC_FAR *pdwEffect) {
  return This->lpVtbl->DragEnter(This,pDataObj,grfKeyState,pt,
		pdwEffect);
}

HRESULT C_IDropTarget_DragOver ( 
	    IDropTarget __RPC_FAR * This, 
	    /* [in] */ DWORD grfKeyState,
	    /* [in] */ POINTL pt,
	    /* [out][in] */ DWORD __RPC_FAR *pdwEffect) {
  return This->lpVtbl->DragOver(This,grfKeyState,pt,pdwEffect);
}

HRESULT C_IDropTarget_DragLeave (
		IDropTarget __RPC_FAR * This) {
  return This->lpVtbl->DragLeave(This);
}

HRESULT C_IDropTarget_Drop ( 
	    IDropTarget __RPC_FAR * This, 
	    /* [unique][in] */ IDataObject __RPC_FAR *pDataObj,
	    /* [in] */ DWORD grfKeyState,
	    /* [in] */ POINTL pt,
	    /* [out][in] */ DWORD __RPC_FAR *pdwEffect) {
  return This->lpVtbl->Drop(This,pDataObj,grfKeyState,pt,
		pdwEffect);
}

struct IDropTargetVtbl
IDropTarget_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release,
		DW_IDropTarget_DragEnter, DW_IDropTarget_DragOver,
		DW_IDropTarget_DragLeave, DW_IDropTarget_Drop};


	/*  IEnumOLEVERB  */

HRESULT C_IEnumOLEVERB_Next ( 
	    IEnumOLEVERB __RPC_FAR * This, 
	    /* [in] */ ULONG celt,
	    /* [length_is][size_is][out] */ LPOLEVERB rgelt,
	    /* [out] */ ULONG __RPC_FAR *pceltFetched) {
  return This->lpVtbl->Next(This,celt,rgelt,pceltFetched);
}

HRESULT C_IEnumOLEVERB_Skip ( 
	    IEnumOLEVERB __RPC_FAR * This, 
	    /* [in] */ ULONG celt) {
  return This->lpVtbl->Skip(This,celt);
}

HRESULT C_IEnumOLEVERB_Reset (
		IEnumOLEVERB __RPC_FAR * This) {
  return This->lpVtbl->Reset(This);
}

HRESULT C_IEnumOLEVERB_Clone ( 
	    IEnumOLEVERB __RPC_FAR * This, 
	    /* [out] */ IEnumOLEVERB __RPC_FAR *__RPC_FAR *ppenum) {
  return This->lpVtbl->Clone(This,ppenum);
}

struct IEnumOLEVERBVtbl
IEnumOLEVERB_DW_vtbl = { DW_IUnknown_QueryInterface,
		DW_IUnknown_AddRef, DW_IUnknown_Release, DW_IEnumOLEVERB_Next,
		DW_IEnumOLEVERB_Skip, DW_IEnumOLEVERB_Reset,
		DW_IEnumOLEVERB_Clone};

