Commit 52395b0e authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed some issues caused by the new oaidl.h.

parent 6463e382
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <ctype.h> #include <ctype.h>
#include "windef.h" #include "windef.h"
#include "objbase.h"
#include "oleauto.h" #include "oleauto.h"
#include "winerror.h" #include "winerror.h"
#include "winreg.h" /* for HKEY_LOCAL_MACHINE */ #include "winreg.h" /* for HKEY_LOCAL_MACHINE */
...@@ -71,11 +72,7 @@ HRESULT WINAPI DispInvoke( ...@@ -71,11 +72,7 @@ HRESULT WINAPI DispInvoke(
*/ */
FIXME("Coercion of arguments not implemented\n"); FIXME("Coercion of arguments not implemented\n");
hr = ICOM_CALL7(Invoke, ITypeInfo_Invoke(ptinfo, _this, dispidMember, wFlags,
ptinfo,
_this,
dispidMember,
wFlags,
pparams, pvarResult, pexcepinfo, puArgErr); pparams, pvarResult, pexcepinfo, puArgErr);
return (hr); return (hr);
...@@ -103,11 +100,7 @@ HRESULT WINAPI DispGetIDsOfNames( ...@@ -103,11 +100,7 @@ HRESULT WINAPI DispGetIDsOfNames(
{ {
HRESULT hr = E_FAIL; HRESULT hr = E_FAIL;
hr = ICOM_CALL3(GetIDsOfNames, ITypeInfo_GetIDsOfNames(ptinfo, rgszNames, cNames, rgdispid);
ptinfo,
rgszNames,
cNames,
rgdispid);
return (hr); return (hr);
} }
......
...@@ -37,6 +37,9 @@ ...@@ -37,6 +37,9 @@
WINE_DEFAULT_DEBUG_CHANNEL(ole); WINE_DEFAULT_DEBUG_CHANNEL(ole);
/* The OLE Automation ProxyStub Interface Class (aka Typelib Marshaler) */
extern const GUID CLSID_PSOAInterface;
/****************************************************************************** /******************************************************************************
* SysStringLen [OLEAUT32.7] * SysStringLen [OLEAUT32.7]
* *
......
...@@ -76,6 +76,9 @@ ...@@ -76,6 +76,9 @@
WINE_DEFAULT_DEBUG_CHANNEL(ole); WINE_DEFAULT_DEBUG_CHANNEL(ole);
WINE_DECLARE_DEBUG_CHANNEL(typelib); WINE_DECLARE_DEBUG_CHANNEL(typelib);
/* The OLE Automation ProxyStub Interface Class (aka Typelib Marshaler) */
const GUID CLSID_PSOAInterface = { 0x00020424, 0, 0, { 0xC0, 0, 0, 0, 0, 0, 0, 0x46 } };
/**************************************************************************** /****************************************************************************
* FromLExxx * FromLExxx
* *
...@@ -4761,37 +4764,34 @@ static HRESULT WINAPI ITypeInfo_fnGetContainingTypeLib( ITypeInfo2 *iface, ...@@ -4761,37 +4764,34 @@ static HRESULT WINAPI ITypeInfo_fnGetContainingTypeLib( ITypeInfo2 *iface,
* Releases a TYPEATTR previously returned by GetTypeAttr. * Releases a TYPEATTR previously returned by GetTypeAttr.
* *
*/ */
static HRESULT WINAPI ITypeInfo_fnReleaseTypeAttr( ITypeInfo2 *iface, static void WINAPI ITypeInfo_fnReleaseTypeAttr( ITypeInfo2 *iface,
TYPEATTR* pTypeAttr) TYPEATTR* pTypeAttr)
{ {
ICOM_THIS( ITypeInfoImpl, iface); ICOM_THIS( ITypeInfoImpl, iface);
TRACE("(%p)->(%p)\n", This, pTypeAttr); TRACE("(%p)->(%p)\n", This, pTypeAttr);
return S_OK;
} }
/* ITypeInfo::ReleaseFuncDesc /* ITypeInfo::ReleaseFuncDesc
* *
* Releases a FUNCDESC previously returned by GetFuncDesc. * * Releases a FUNCDESC previously returned by GetFuncDesc. *
*/ */
static HRESULT WINAPI ITypeInfo_fnReleaseFuncDesc( static void WINAPI ITypeInfo_fnReleaseFuncDesc(
ITypeInfo2 *iface, ITypeInfo2 *iface,
FUNCDESC *pFuncDesc) FUNCDESC *pFuncDesc)
{ {
ICOM_THIS( ITypeInfoImpl, iface); ICOM_THIS( ITypeInfoImpl, iface);
TRACE("(%p)->(%p)\n", This, pFuncDesc); TRACE("(%p)->(%p)\n", This, pFuncDesc);
return S_OK;
} }
/* ITypeInfo::ReleaseVarDesc /* ITypeInfo::ReleaseVarDesc
* *
* Releases a VARDESC previously returned by GetVarDesc. * Releases a VARDESC previously returned by GetVarDesc.
*/ */
static HRESULT WINAPI ITypeInfo_fnReleaseVarDesc( ITypeInfo2 *iface, static void WINAPI ITypeInfo_fnReleaseVarDesc( ITypeInfo2 *iface,
VARDESC *pVarDesc) VARDESC *pVarDesc)
{ {
ICOM_THIS( ITypeInfoImpl, iface); ICOM_THIS( ITypeInfoImpl, iface);
TRACE("(%p)->(%p)\n", This, pVarDesc); TRACE("(%p)->(%p)\n", This, pVarDesc);
return S_OK;
} }
/* ITypeInfo2::GetTypeKind /* ITypeInfo2::GetTypeKind
...@@ -4815,12 +4815,11 @@ static HRESULT WINAPI ITypeInfo2_fnGetTypeKind( ITypeInfo2 * iface, ...@@ -4815,12 +4815,11 @@ static HRESULT WINAPI ITypeInfo2_fnGetTypeKind( ITypeInfo2 * iface,
* attribute). * attribute).
* *
*/ */
static HRESULT WINAPI ITypeInfo2_fnGetTypeFlags( ITypeInfo2 * iface, static HRESULT WINAPI ITypeInfo2_fnGetTypeFlags( ITypeInfo2 *iface, ULONG *pTypeFlags)
UINT *pTypeFlags)
{ {
ICOM_THIS( ITypeInfoImpl, iface); ICOM_THIS( ITypeInfoImpl, iface);
*pTypeFlags=This->TypeAttr.wTypeFlags; *pTypeFlags=This->TypeAttr.wTypeFlags;
TRACE("(%p) flags 0x%04x\n", This,*pTypeFlags); TRACE("(%p) flags 0x%lx\n", This,*pTypeFlags);
return S_OK; return S_OK;
} }
......
...@@ -92,7 +92,7 @@ typedef enum RefreshConstants ...@@ -92,7 +92,7 @@ typedef enum RefreshConstants
ICOM_METHOD1(HRESULT,get_LocationURL, BSTR*,LocationURL) \ ICOM_METHOD1(HRESULT,get_LocationURL, BSTR*,LocationURL) \
ICOM_METHOD1(HRESULT,get_Busy, VARIANT*,pBool) ICOM_METHOD1(HRESULT,get_Busy, VARIANT*,pBool)
#define IWebBrowser_IMETHODS \ #define IWebBrowser_IMETHODS \
IDispatch_METHODS \ IDispatch_IMETHODS \
IWebBrowser_METHODS IWebBrowser_METHODS
ICOM_DEFINE(IWebBrowser,IDispatch) ICOM_DEFINE(IWebBrowser,IDispatch)
#undef ICOM_INTERFACE #undef ICOM_INTERFACE
...@@ -156,7 +156,7 @@ ICOM_DEFINE(IWebBrowser,IDispatch) ...@@ -156,7 +156,7 @@ ICOM_DEFINE(IWebBrowser,IDispatch)
ICOM_METHOD1(HRESULT,get_FullScreen,VARIANT_BOOL*,pbFullScreen) \ ICOM_METHOD1(HRESULT,get_FullScreen,VARIANT_BOOL*,pbFullScreen) \
ICOM_METHOD1(HRESULT,put_FullScreen,VARIANT_BOOL,bFullScreen) ICOM_METHOD1(HRESULT,put_FullScreen,VARIANT_BOOL,bFullScreen)
#define IWebBrowserApp_IMETHODS \ #define IWebBrowserApp_IMETHODS \
IDispatch_METHODS \ IDispatch_IMETHODS \
IWebBrowser_METHODS \ IWebBrowser_METHODS \
IWebBrowserApp_METHODS IWebBrowserApp_METHODS
ICOM_DEFINE(IWebBrowserApp,IWebBrowser) ICOM_DEFINE(IWebBrowserApp,IWebBrowser)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment