Changeset 7926 for trunk/src/ole32/filemoniker.c
- Timestamp:
- Feb 15, 2002, 6:18:52 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/filemoniker.c
r6711 r7926 85 85 HRESULT WINAPI FileMonikerImpl_Construct(FileMonikerImpl* iface, LPCOLESTR lpszPathName); 86 86 HRESULT WINAPI FileMonikerImpl_Destroy(FileMonikerImpl* iface); 87 int WINAPI FileMonikerImpl_DecomposePath(LP OLESTR str, LPOLESTR** tabStr);87 int WINAPI FileMonikerImpl_DecomposePath(LPCOLESTR str, LPOLESTR** tabStr); 88 88 89 89 … … 322 322 BOOL fClearDirty)/* Specifies whether to clear the dirty flag */ 323 323 { 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) 333 341 */ 334 342 … … 596 604 if (pca!=NULL){ 597 605 598 FIXME("() ");606 FIXME("()\n"); 599 607 600 608 /*res=GetClassFile(This->filePathName,&clsID); … … 611 619 }*/ 612 620 } 613 }621 } 614 622 615 623 if (pObj!=NULL){ … … 689 697 FIXME("(%p,%p,%p,%p,%p)\n",iface,pbc,pmkToLeft,riid,ppvObject); 690 698 691 return E_NOTIMPL;692 }699 return E_NOTIMPL; 700 } 693 701 return res; 694 702 } … … 893 901 h = (h * 39) + val[off]; 894 902 } 895 }903 } 896 904 897 905 *pdwHash=h; … … 965 973 966 974 *pFileTime=info.ftLastWriteTime; 967 }975 } 968 976 969 977 return S_OK; … … 1036 1044 machimeNameCase=FALSE; 1037 1045 break; 1038 }1046 } 1039 1047 } 1040 1048 … … 1069 1077 * DecomposePath (local function) 1070 1078 ******************************************************************************/ 1071 int WINAPI FileMonikerImpl_DecomposePath(LP OLESTR str, LPOLESTR** stringTable)1079 int WINAPI FileMonikerImpl_DecomposePath(LPCOLESTR str, LPOLESTR** stringTable) 1072 1080 { 1073 1081 WCHAR bSlash[] = {'\\',0}; … … 1302 1310 1303 1311 /****************************************************************************** 1304 * CreateFileMoniker 161312 * CreateFileMoniker (OLE2.28) 1305 1313 ******************************************************************************/ 1306 1314 HRESULT WINAPI CreateFileMoniker16(LPCOLESTR16 lpszPathName,LPMONIKER* ppmk) … … 1312 1320 1313 1321 /****************************************************************************** 1314 * CreateFileMoniker 1322 * CreateFileMoniker (OLE32.55) 1315 1323 ******************************************************************************/ 1316 1324 HRESULT WINAPI CreateFileMoniker(LPCOLESTR lpszPathName, LPMONIKER * ppmk)
Note:
See TracChangeset
for help on using the changeset viewer.