Changeset 5856 for trunk/src


Ignore:
Timestamp:
Jun 1, 2001, 9:50:02 AM (24 years ago)
Author:
sandervl
Message:

Added OleLoadPictureEx stub

Location:
trunk/src/oleaut32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oleaut32/oleaut32.def

    r4809 r5856  
    1 ;/* $Id: oleaut32.def,v 1.5 2000-12-16 22:53:31 bird Exp $ */
     1;/* $Id: oleaut32.def,v 1.6 2001-06-01 07:50:02 sandervl Exp $ */
    22LIBRARY OLAUTOS2 INITINSTANCE
    33DESCRIPTION 'Odin32 System DLL - OleAut32'
     
    290290OleCreatePictureIndirect = _OleCreatePictureIndirect@16  @419
    291291OleCreateFontIndirect = _OleCreateFontIndirect@12  @420
    292 OleTranslateColor = _OleTranslateColor@12  @421
     292OleTranslateColor = _OleTranslateColor@12    @421
    293293OleLoadPictureFile = _OleLoadPictureFile@20  @422
    294 OleSavePictureFile = _OleSavePictureFile@8  @423
     294OleSavePictureFile = _OleSavePictureFile@8   @423
    295295OleLoadPicturePath = _OleLoadPicturePath@24  @424
     296OleLoadPictureEx   = _OleLoadPictureEx@32    @425
  • trunk/src/oleaut32/olepicture.c

    r4837 r5856  
    3636#include "wine/obj_picture.h"
    3737#include "debugtools.h"
     38
     39#ifdef __WIN32OS2__
     40#undef FIXME
     41#undef TRACE
     42#ifdef DEBUG
     43#define TRACE WriteLog("%s", __FUNCTION__); WriteLog
     44#define FIXME WriteLog("FIXME %s", __FUNCTION__); WriteLog
     45#else
     46#define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
     47#define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
     48#endif
     49#endif
    3850
    3951DEFAULT_DEBUG_CHANNEL(ole);
     
    741753
    742754
     755 
     756#ifdef __WIN32OS2__
     757
     758/***********************************************************************
     759 * OleLoadPictureEx
     760 */
     761HRESULT WINAPI OleLoadPictureEx( LPSTREAM lpstream, LONG lSize, BOOL fRunmode,
     762                            REFIID reed, DWORD xsiz, DWORD ysiz, DWORD flags, LPVOID *ppvObj )
     763{
     764  FIXME("(%p,%ld,%d,%p,%lx,%lx,%lx,%p), not implemented\n",
     765        lpstream, lSize, fRunmode, reed, xsiz, ysiz, flags, ppvObj);
     766  return E_NOTIMPL;
     767}
     768
    743769/***********************************************************************
    744770 * OleLoadPicture
     
    749775  FIXME("(%p,%ld,%d,%p,%p), not implemented\n",
    750776        lpstream, lSize, fRunmode, reed, ppvObj);
    751   return S_OK;
    752 }
    753  
    754 #ifdef __WIN32OS2__
     777  return OleLoadPictureEx(lpstream, lSize, fRunmode, reed, 0, 0, 0, ppvObj);
     778}
     779
    755780// ----------------------------------------------------------------------
    756781// OleLoadPictureFile
Note: See TracChangeset for help on using the changeset viewer.