Commit a9855b51 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Added stubs for {Create,Get,Set}ErrorInfo.

parent 453e2dcf
......@@ -192,11 +192,11 @@ type win32
189 stub CoRegisterChannelHook
190 stub CoRegisterSurrogate
191 stub CoSwitchCallContext
192 stub CreateErrorInfo
192 stdcall CreateErrorInfo(ptr) CreateErrorInfo
193 stub CreateObjrefMoniker
194 stub DllRegisterServer
195 stdcall FreePropVariantArray(long ptr) FreePropVariantArray
196 stub GetErrorInfo
196 stdcall GetErrorInfo(long ptr) GetErrorInfo
197 stub HACCEL_UserFree
198 stub HACCEL_UserMarshal
199 stub HACCEL_UserSize
......
......@@ -11,6 +11,7 @@ IMPORTS = olepro32 ole32 comctl32 winmm
SPEC_SRCS = oleaut32.spec ole2disp.spec typelib.spec
C_SRCS = \
errorinfo.c \
ole2disp.c \
oleaut.c \
olefont.c \
......
/*
* ErrorInfo API
*
* Copyright 2000 Patrik Stridvall
*
*/
#include "debugtools.h"
#include "oleauto.h"
#include "windef.h"
#include "winerror.h"
DEFAULT_DEBUG_CHANNEL(ole)
/***********************************************************************
* CreateErrorInfo
*/
HRESULT WINAPI CreateErrorInfo(ICreateErrorInfo **pperrinfo)
{
FIXME("(%ld, %p): stub:\n", pperrinfo);
return S_OK;
}
/***********************************************************************
* GetErrorInfo
*/
HRESULT WINAPI GetErrorInfo(ULONG dwReserved, IErrorInfo **pperrinfo)
{
FIXME("(%ld, %p): stub:\n", dwReserved, pperrinfo);
return S_OK;
}
/***********************************************************************
* SetErrorInfo
*/
HRESULT WINAPI SetErrorInfo(ULONG dwReserved, IErrorInfo *perrinfo)
{
FIXME("(%ld, %p): stub:\n", dwReserved, perrinfo);
return S_OK;
}
......@@ -154,9 +154,9 @@ type win32
197 stub VarDecFromStr
198 stub VarDecFromDisp
199 stub VarDecFromBool
200 stub GetErrorInfo
201 stdcall SetErrorInfo(long ptr) SetErrorInfo
202 stub CreateErrorInfo
200 stdcall GetErrorInfo(long ptr) GetErrorInfo
201 stdcall SetErrorInfo(long ptr ) SetErrorInfo
202 stdcall CreateErrorInfo(ptr) CreateErrorInfo
205 stdcall VarI2FromI1(long ptr) VarI2FromI1
206 stdcall VarI2FromUI2(long ptr) VarI2FromUI2
207 stdcall VarI2FromUI4(long ptr) VarI2FromUI4
......
......@@ -30,6 +30,14 @@ int WINAPI SysStringLen16(BSTR16);
int WINAPI SysStringLen(BSTR);
/*****************************************************************
* ErrorInfo API
*/
HRESULT WINAPI SetErrorInfo(ULONG dwReserved, IErrorInfo *perrinfo);
HRESULT WINAPI GetErrorInfo(ULONG dwReserved, IErrorInfo **pperrinfo);
HRESULT WINAPI CreateErrorInfo(ICreateErrorInfo **pperrinfo);
/*****************************************************************
* SafeArray API
*/
......
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