oleaut32: add stubs for OleLoadPictureFile(Ex) (resend) [1/2]
Jeremy Drake
wine at jdrake.com
Tue Jan 6 01:00:20 CST 2009
---
dlls/oleaut32/oleaut32.spec | 6 ++++--
dlls/oleaut32/olepicture.c | 18 ++++++++++++++++++
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/oleaut32.spec b/dlls/oleaut32/oleaut32.spec
index 7b764ef..ca8ab09 100644
--- a/dlls/oleaut32/oleaut32.spec
+++ b/dlls/oleaut32/oleaut32.spec
@@ -378,7 +378,8 @@
398 stub UserMSG_free_inst
399 stub UserMSG_free_local
401 stdcall OleLoadPictureEx(ptr long long long long long long ptr)
-402 stub OleLoadPictureFileEx
+; the first 4 longs in OleLoadPictureFileEx are really one VARIANT
+402 stdcall OleLoadPictureFileEx(long long long long long long long ptr)
411 stdcall SafeArrayCreateVector(long long long)
412 stdcall SafeArrayCopyData(ptr ptr)
413 stdcall VectorFromBstr(ptr ptr)
@@ -390,7 +391,8 @@
419 stdcall OleCreatePictureIndirect(ptr ptr long ptr)
420 stdcall OleCreateFontIndirect(ptr ptr ptr)
421 stdcall OleTranslateColor(long long long)
-422 stub OleLoadPictureFile
+; the first 4 longs in OleLoadPictureFile are really one VARIANT
+422 stdcall OleLoadPictureFile(long long long long ptr)
423 stub OleSavePictureFile
424 stdcall OleLoadPicturePath(wstr ptr long long ptr ptr)
425 stdcall VarUI4FromI8(double ptr)
diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c
index bdce729..db0011a 100644
--- a/dlls/oleaut32/olepicture.c
+++ b/dlls/oleaut32/olepicture.c
@@ -2703,6 +2703,24 @@ HRESULT WINAPI OleLoadPictureEx( LPSTREAM lpstream, LONG lSize, BOOL fRunmode,
}
/***********************************************************************
+ * OleLoadPictureFileEx (OLEAUT32.402)
+ */
+HRESULT WINAPI OleLoadPictureFileEx(VARIANT varFilename, DWORD xSizeDesired, DWORD ySizeDesired, DWORD dwFlags, IDispatch **ppdispPicture)
+{
+ FIXME("(VARIANT(%hd), %d, %d, %d, %p): not implemented\n", V_VT(&varFilename), xSizeDesired, ySizeDesired, dwFlags, ppdispPicture);
+ return E_NOTIMPL;
+}
+
+/***********************************************************************
+ * OleLoadPictureFile (OLEAUT32.422)
+ */
+HRESULT WINAPI OleLoadPictureFile(VARIANT varFilename, IDispatch ** ppdispPicture)
+{
+ FIXME("(VARIANT(%hd), %p): not implemented\n", V_VT(&varFilename), ppdispPicture);
+ return E_NOTIMPL;
+}
+
+/***********************************************************************
* OleLoadPicturePath (OLEAUT32.424)
*/
HRESULT WINAPI OleLoadPicturePath( LPOLESTR szURLorPath, LPUNKNOWN punkCaller,
--
1.6.0.6
More information about the wine-patches
mailing list