Commit 76cc171f authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Added stubs for SetErrorInfo, PropVariantClear, PropVariantCopy,

FreePropVariantArray.
parent 5f6080ee
...@@ -224,3 +224,46 @@ HRESULT WINAPI OleRegEnumFormatEtc ( ...@@ -224,3 +224,46 @@ HRESULT WINAPI OleRegEnumFormatEtc (
return S_OK; return S_OK;
} }
#include "oleauto.h"
/***********************************************************************
* SetErrorInfo [OLE32.255]
*/
HRESULT WINAPI SetErrorInfo(DWORD dwReserved, IErrorInfo* perrinfo)
{
FIXME("(%ld, %p): stub:\n", dwReserved, perrinfo);
return S_OK;
}
/***********************************************************************
* PropVariantClear [OLE32.166]
*/
HRESULT WINAPI PropVariantClear(/*PROPVARIANT* */void* pvar)
{
FIXME("(%p): stub:\n", pvar);
*(LPWORD)pvar = 0;
/* sets at least the vt field to VT_EMPTY */
return S_OK;
}
/***********************************************************************
* PropVariantCopy [OLE32.246]
*/
HRESULT WINAPI PropVariantCopy(/*PROPVARIANT* */void* pvarDest,
/*const PROPVARIANT* */ void* pvarSrc)
{
FIXME("(%p, %p): stub:\n", pvarDest, pvarSrc);
return S_OK;
}
/***********************************************************************
* FreePropVariantArray [OLE32.195]
*/
HRESULT WINAPI FreePropVariantArray(ULONG cVariants, /*PROPVARIANT* */void* rgvars)
{
FIXME("(%lu, %p): stub:\n", cVariants, rgvars);
return S_OK;
}
...@@ -166,7 +166,7 @@ type win32 ...@@ -166,7 +166,7 @@ type win32
163 stdcall CoInitializeEx(ptr long) CoInitializeEx 163 stdcall CoInitializeEx(ptr long) CoInitializeEx
164 stub CoInitializeSecurity # stdcall (ptr long ptr ptr long long ptr long ptr) return 0,ERR_NOTIMPLEMENTED 164 stub CoInitializeSecurity # stdcall (ptr long ptr ptr long long ptr long ptr) return 0,ERR_NOTIMPLEMENTED
165 stdcall CoCreateInstanceEx(ptr ptr long ptr long ptr) CoCreateInstanceEx 165 stdcall CoCreateInstanceEx(ptr ptr long ptr long ptr) CoCreateInstanceEx
166 stub PropVariantClear 166 stdcall PropVariantClear(ptr) PropVariantClear
167 stub CoCopyProxy # stdcall (ptr ptr) return 0,ERR_NOTIMPLEMENTED 167 stub CoCopyProxy # stdcall (ptr ptr) return 0,ERR_NOTIMPLEMENTED
168 stub CoGetCallContext # stdcall (ptr ptr) return 0,ERR_NOTIMPLEMENTED 168 stub CoGetCallContext # stdcall (ptr ptr) return 0,ERR_NOTIMPLEMENTED
169 stub CoGetInstanceFromFile # stdcall (ptr ptr ptr long wstr long ptr) return 0,ERR_NOTIMPLEMENTED 169 stub CoGetInstanceFromFile # stdcall (ptr ptr ptr long wstr long ptr) return 0,ERR_NOTIMPLEMENTED
...@@ -195,7 +195,7 @@ type win32 ...@@ -195,7 +195,7 @@ type win32
192 stub CreateErrorInfo 192 stub CreateErrorInfo
193 stub CreateObjrefMoniker 193 stub CreateObjrefMoniker
194 stub DllRegisterServer 194 stub DllRegisterServer
195 stub FreePropVariantArray 195 stdcall FreePropVariantArray(long ptr) FreePropVariantArray
196 stub GetErrorInfo 196 stub GetErrorInfo
197 stub HACCEL_UserFree 197 stub HACCEL_UserFree
198 stub HACCEL_UserMarshal 198 stub HACCEL_UserMarshal
...@@ -246,7 +246,7 @@ type win32 ...@@ -246,7 +246,7 @@ type win32
243 stub OleCreateLinkToFileEx 243 stub OleCreateLinkToFileEx
244 stub PropSysAllocString 244 stub PropSysAllocString
245 stub PropSysFreeString 245 stub PropSysFreeString
246 stub PropVariantCopy 246 stdcall PropVariantCopy(ptr ptr) PropVariantCopy
247 stub SNB_UserFree 247 stub SNB_UserFree
248 stub SNB_UserMarshal 248 stub SNB_UserMarshal
249 stub SNB_UserSize 249 stub SNB_UserSize
...@@ -255,7 +255,7 @@ type win32 ...@@ -255,7 +255,7 @@ type win32
252 stub STGMEDIUM_UserMarshal 252 stub STGMEDIUM_UserMarshal
253 stub STGMEDIUM_UserSize 253 stub STGMEDIUM_UserSize
254 stub STGMEDIUM_UserUnmarshal 254 stub STGMEDIUM_UserUnmarshal
255 stub SetErrorInfo 255 stdcall SetErrorInfo(long ptr) SetErrorInfo
256 stub StgCreateStorageEx 256 stub StgCreateStorageEx
257 stub StgGetIFillLockBytesOnFile 257 stub StgGetIFillLockBytesOnFile
258 stub StgGetIFillLockBytesOnILockBytes 258 stub StgGetIFillLockBytesOnILockBytes
......
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