Changeset 7958 for trunk/src


Ignore:
Timestamp:
Feb 19, 2002, 1:36:54 PM (24 years ago)
Author:
sandervl
Message:

put back old code

Location:
trunk/src/ole32
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/clipboard.c

    r7955 r7958  
    296296 */
    297297
    298 #ifdef __WIN32OS2__
    299 HRESULT     WINAPI OleSetClipboard(LPDATAOBJECT pDataObj)
    300 #else
    301298HRESULT WINAPI OleSetClipboard(IDataObject* pDataObj)
    302 #endif
    303299{
    304300  HRESULT hr = S_OK;
     
    575571 *           OleIsCurrentClipboard [OLE32.110]
    576572 */
    577 #ifdef __WIN32OS2__
    578 HRESULT     WINAPI OleIsCurrentClipboard(LPDATAOBJECT pDataObject)
    579 #else
    580573HRESULT WINAPI OleIsCurrentClipboard (  IDataObject *pDataObject)
    581 #endif
    582574{
    583575  TRACE("()\n");
  • trunk/src/ole32/clsid.cpp

    r7955 r7958  
    1 /* $Id: clsid.cpp,v 1.15 2002-02-18 23:24:09 phaller Exp $ */
     1/* $Id: clsid.cpp,v 1.16 2002-02-19 12:34:49 sandervl Exp $ */
    22/*
    33 *
     
    2929// IIDFromString
    3030// ----------------------------------------------------------------------
    31 #ifdef __WIN32OS2__
    32 HRESULT WINAPI IIDFromString(LPOLESTR lpsz, LPIID lpiid)
    33 #else
    3431HRESULT WIN32API IIDFromString(LPSTR lpsz, LPIID lpiid)
    35 #endif
    3632{
    3733//    dprintf(("OLE32: IIDFromString"));
     
    4642// Memory allocated here on behalf of application should be freed using CoTaskMemFree()
    4743// ----------------------------------------------------------------------
    48 #ifdef __WIN32OS2__
    49 HRESULT WINAPI StringFromIID(REFIID riid, LPOLESTR * ppsz)
    50 #else
    5144HRESULT WIN32API StringFromIID(REFIID riid, LPOLESTR *ppsz)
    52 #endif
    5345{
    5446    char        tmp[50];
  • trunk/src/ole32/compobj_private.h

    r7954 r7958  
    1717extern HRESULT create_marshalled_proxy(REFCLSID rclsid, REFIID iid, LPVOID *ppv);
    1818
    19 #ifndef __WIN32OS2__
    2019inline static HRESULT
    2120get_facbuf_for_iid(REFIID riid,IPSFactoryBuffer **facbuf) {
     
    2726    return CoGetClassObject(&pxclsid,CLSCTX_INPROC_SERVER,NULL,&IID_IPSFactoryBuffer,(LPVOID*)facbuf);
    2827}
    29 #endif
    3028
    3129#define PIPEPREF "\\\\.\\pipe\\"
  • trunk/src/ole32/dbgwrap.cpp

    r7955 r7958  
    9494NODEF_DEBUGWRAP0(GetHookInterface)
    9595DEBUGWRAP8(GetRunningObjectTable)
    96 DEBUGWRAP8(IIDFromString)
     96NODEF_DEBUGWRAP8(IIDFromString)
    9797DEBUGWRAP16(IsAccelerator)
    9898NODEF_DEBUGWRAP8(CONCRETE_IsEqualGUID)
     
    173173DEBUGWRAP8(StringFromCLSID)
    174174DEBUGWRAP12(StringFromGUID2)
    175 DEBUGWRAP8(StringFromIID)
     175NODEF_DEBUGWRAP8(StringFromIID)
    176176NODEF_DEBUGWRAP0(UtConvertDvtd16toDvtd32)
    177177NODEF_DEBUGWRAP0(UtConvertDvtd32toDvtd16)
  • trunk/src/ole32/marshal.c

    r7954 r7958  
    6363static int nrofproxies = 0;
    6464
    65 #ifdef __WIN32OS2__
    66 inline static HRESULT
    67 get_facbuf_for_iid(REFIID riid,IPSFactoryBuffer **facbuf) {
    68     HRESULT       hres;
    69     CLSID         pxclsid;
    70 
    71     if ((hres = CoGetPSClsid(riid,&pxclsid)))
    72         return hres;
    73     return CoGetClassObject(&pxclsid,CLSCTX_INPROC_SERVER,NULL,&IID_IPSFactoryBuffer,(LPVOID*)facbuf);
    74 }
    75 #endif
    76 
    77 
    7865HRESULT
    7966MARSHAL_Find_Stub_Server(wine_marshal_id *mid,LPUNKNOWN *punk) {
  • trunk/src/ole32/stubs.cpp

    r7955 r7958  
    1 /* $Id: stubs.cpp,v 1.20 2002-02-18 23:24:09 phaller Exp $ */
     1/* $Id: stubs.cpp,v 1.21 2002-02-19 12:34:50 sandervl Exp $ */
    22/*
    33 * Win32 COM/OLE stubs for OS/2
     
    225225//*******************************************************************************
    226226HRESULT WIN32API OleDraw(IUnknown *pUnk, DWORD dwAspect, HDC hdcDraw,
    227                          LPCRECT lprcBounds)
     227                            LPCRECT lprcBounds)
    228228{
    229229    dprintf(("OLE32: OleDraw - stub"));
Note: See TracChangeset for help on using the changeset viewer.