Changeset 7954


Ignore:
Timestamp:
Feb 18, 2002, 11:57:27 PM (23 years ago)
Author:
phaller
Message:

Moved CoGetPSClsid call to where it belongs

Location:
trunk/src/ole32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/ole32/compobj_private.h

    r7926 r7954  
    1717extern HRESULT create_marshalled_proxy(REFCLSID rclsid, REFIID iid, LPVOID *ppv);
    1818
     19#ifndef __WIN32OS2__
    1920inline static HRESULT
    2021get_facbuf_for_iid(REFIID riid,IPSFactoryBuffer **facbuf) {
     
    2627    return CoGetClassObject(&pxclsid,CLSCTX_INPROC_SERVER,NULL,&IID_IPSFactoryBuffer,(LPVOID*)facbuf);
    2728}
     29#endif
    2830
    2931#define PIPEPREF "\\\\.\\pipe\\"
  • TabularUnified trunk/src/ole32/marshal.c

    r7926 r7954  
    6363static int nrofproxies = 0;
    6464
     65#ifdef __WIN32OS2__
     66inline static HRESULT
     67get_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
    6578HRESULT
    6679MARSHAL_Find_Stub_Server(wine_marshal_id *mid,LPUNKNOWN *punk) {
Note: See TracChangeset for help on using the changeset viewer.