Ignore:
Timestamp:
Jun 9, 2002, 6:37:22 PM (23 years ago)
Author:
sandervl
Message:

Resync with latest Wine

File:
1 edited

Legend:

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

    r8441 r8620  
    3737    ICOM_VTABLE(IMoniker)*  lpvtbl1;  /* VTable relative to the IMoniker interface.*/
    3838
    39     /* The ROT (RunningObjectTable implementation) uses the IROTData interface to test whether 
     39    /* The ROT (RunningObjectTable implementation) uses the IROTData interface to test whether
    4040     * two monikers are equal. That's whay IROTData interface is implemented by monikers.
    4141     */
     
    143143{
    144144    ICOM_THIS(AntiMonikerImpl,iface);
    145  
     145
    146146  TRACE("(%p,%p,%p)\n",This,riid,ppvObject);
    147147
     
    149149    if ( (This==0) || (ppvObject==0) )
    150150        return E_INVALIDARG;
    151  
     151
    152152  /* Initialize the return parameter */
    153153  *ppvObject = 0;
     
    166166    if ((*ppvObject)==0)
    167167        return E_NOINTERFACE;
    168  
     168
    169169   /* Query Interface always increases the reference count by one when it is successful */
    170170  AntiMonikerImpl_AddRef(iface);
     
    203203        return 0;
    204204    }
    205     return This->ref;;
     205    return This->ref;
    206206}
    207207
     
    215215    if (pClassID==NULL)
    216216        return E_POINTER;
    217            
     217
    218218    *pClassID = CLSID_AntiMoniker;
    219        
     219
    220220    return S_OK;
    221221}
     
    259259    DWORD constant=1;
    260260    HRESULT res;
    261    
     261
    262262    /* data writen by this function is only a DWORD constant seted to 1 ! */
    263263    res=IStream_Write(pStm,&constant,sizeof(constant),NULL);
     
    278278
    279279    /* for more details see AntiMonikerImpl_Save coments */
    280    
     280
    281281    /* Normaly the sizemax must be the  size of DWORD ! but I tested this function it ususlly return 16 bytes */
    282282    /* more than the number of bytes used by AntiMoniker::Save function */
     
    357357
    358358    *ppmkReduced=iface;
    359    
     359
    360360    return MK_S_REDUCED_TO_SELF;
    361361}
     
    375375
    376376    *ppmkComposite=0;
    377    
     377
    378378    if (fOnlyIfNotGeneric)
    379379        return MK_E_NEEDGENERIC;
     
    391391    if (ppenumMoniker == NULL)
    392392        return E_POINTER;
    393    
     393
    394394    *ppenumMoniker = NULL;
    395395
     
    403403{
    404404    DWORD mkSys;
    405    
     405
    406406    TRACE("(%p,%p)\n",iface,pmkOtherMoniker);
    407407
    408408    if (pmkOtherMoniker==NULL)
    409409        return S_FALSE;
    410    
     410
    411411    IMoniker_IsSystemMoniker(pmkOtherMoniker,&mkSys);
    412412
     
    491491{
    492492    DWORD mkSys;
    493    
     493
    494494    IMoniker_IsSystemMoniker(pmkOther,&mkSys);
    495495
     
    501501
    502502        IMoniker_AddRef(iface);
    503        
     503
    504504        return MK_S_US;
    505505    }
     
    534534{
    535535    WCHAR back[]={'\\','.','.',0};
    536    
     536
    537537    TRACE("(%p,%p,%p,%p)\n",iface,pbc,pmkToLeft,ppszDisplayName);
    538538
     
    551551
    552552    strcpyW(*ppszDisplayName,back);
    553    
     553
    554554    return S_OK;
    555555}
     
    578578    if (!pwdMksys)
    579579        return E_POINTER;
    580    
     580
    581581    (*pwdMksys)=MKSYS_ANTIMONIKER;
    582582
     
    615615{
    616616    ICOM_THIS_From_IROTData(IMoniker, iface);
    617    
     617
    618618    TRACE("(%p)\n",iface);
    619619
     
    641641    HRESULT        hr = S_OK;
    642642    IID riid=IID_IMoniker;
    643    
     643
    644644    TRACE("(%p)\n",ppmk);
    645645
Note: See TracChangeset for help on using the changeset viewer.