Ignore:
Timestamp:
Feb 15, 2002, 6:18:52 PM (24 years ago)
Author:
sandervl
Message:

Wine 20020215 resync

File:
1 edited

Legend:

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

    r6711 r7926  
    8585HRESULT WINAPI FileMonikerImpl_Construct(FileMonikerImpl* iface, LPCOLESTR lpszPathName);
    8686HRESULT WINAPI FileMonikerImpl_Destroy(FileMonikerImpl* iface);
    87 int     WINAPI FileMonikerImpl_DecomposePath(LPOLESTR str, LPOLESTR** tabStr);
     87int     WINAPI FileMonikerImpl_DecomposePath(LPCOLESTR str, LPOLESTR** tabStr);
    8888
    8989
     
    322322                                    BOOL fClearDirty)/* Specifies whether to clear the dirty flag */
    323323{
    324     /* this function saves data of this object. In the begining I thougth that I have just to write
    325      * the filePath string on Stream. But, when I tested this function whith windows programs samples !
    326      * I noted that it was not the case. So I analysed data written by this function on Windows system and
    327      * what did this function do exactly ! but I have no idear a bout its logic !
    328      * I guessed data who must be written on stream wich is:
    329      * 1) WORD constant:zero 2) length of the path string ("\0" included) 3) path string type A
    330      * 4) DWORD constant : 0xDEADFFFF 5) ten WORD constant: zero  6) DWORD: double-length of the the path
    331      * string type W ("\0" not included) 7) WORD constant: 0x3 8) filePath unicode string.
    332      *  if the length(filePath) > 8 or.length(filePath) == 8 stop at step 5)
     324    /* this function saves data of this object. In the beginning I thougth
     325     * that I have just to write the filePath string on Stream. But, when I
     326     * tested this function whith windows programs samples, I noticed that it
     327     * was not the case. So I analysed data written by this function on
     328     * Windows and what this did function exactly ! But I have no idea about
     329     * its logic !
     330     * I guessed data which must be written on stream is:
     331     * 1) WORD constant:zero
     332     * 2) length of the path string ("\0" included)
     333     * 3) path string type A
     334     * 4) DWORD constant : 0xDEADFFFF
     335     * 5) ten WORD constant: zero
     336     * 6) DWORD: double-length of the the path string type W ("\0" not
     337     *    included)
     338     * 7) WORD constant: 0x3
     339     * 8) filePath unicode string.
     340     *    if the length(filePath) > 8 or length(filePath) == 8 stop at step 5)
    333341     */
    334342
     
    596604        if (pca!=NULL){
    597605
    598             FIXME("()");
     606            FIXME("()\n");
    599607           
    600608            /*res=GetClassFile(This->filePathName,&clsID);
     
    611619            }*/
    612620        }
    613 }
     621    }
    614622
    615623    if (pObj!=NULL){
     
    689697        FIXME("(%p,%p,%p,%p,%p)\n",iface,pbc,pmkToLeft,riid,ppvObject);
    690698
    691     return E_NOTIMPL;
    692 }
     699        return E_NOTIMPL;
     700    }
    693701    return res;
    694702}
     
    893901            h = (h * 39) + val[off];
    894902        }
    895 }
     903    }
    896904
    897905    *pdwHash=h;
     
    965973       
    966974        *pFileTime=info.ftLastWriteTime;
    967 }
     975    }
    968976
    969977    return S_OK;
     
    10361044                    machimeNameCase=FALSE;
    10371045                    break;
    1038 }
     1046            }
    10391047        }
    10401048
     
    10691077 *        DecomposePath (local function)
    10701078 ******************************************************************************/
    1071 int WINAPI FileMonikerImpl_DecomposePath(LPOLESTR str, LPOLESTR** stringTable)
     1079int WINAPI FileMonikerImpl_DecomposePath(LPCOLESTR str, LPOLESTR** stringTable)
    10721080{
    10731081    WCHAR bSlash[] = {'\\',0};
     
    13021310
    13031311/******************************************************************************
    1304  *        CreateFileMoniker16
     1312 *        CreateFileMoniker (OLE2.28)
    13051313 ******************************************************************************/
    13061314HRESULT WINAPI CreateFileMoniker16(LPCOLESTR16 lpszPathName,LPMONIKER* ppmk)
     
    13121320
    13131321/******************************************************************************
    1314  *        CreateFileMoniker
     1322 *        CreateFileMoniker (OLE32.55)
    13151323 ******************************************************************************/
    13161324HRESULT WINAPI CreateFileMoniker(LPCOLESTR lpszPathName, LPMONIKER * ppmk)
Note: See TracChangeset for help on using the changeset viewer.