Changeset 9400 for trunk/src/ole32/filemoniker.c
- Timestamp:
- Nov 12, 2002, 6:07:48 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/filemoniker.c
r8620 r9400 871 871 872 872 if (!IsEqualCLSID(&clsid,&CLSID_FileMoniker)) 873 874 873 return S_FALSE; 875 874 876 res=CreateBindCtx(0,&bind); 877 if (FAILED(res)) 878 return res; 879 880 IMoniker_GetDisplayName(pmkOtherMoniker,bind,NULL,&filePath); 881 882 if (lstrcmpiW(filePath, 883 This->filePathName)!=0) 884 885 return S_FALSE; 886 887 return S_OK; 875 res = CreateBindCtx(0,&bind); 876 if (FAILED(res)) return res; 877 878 if (SUCCEEDED(IMoniker_GetDisplayName(pmkOtherMoniker,bind,NULL,&filePath))) { 879 int result = lstrcmpiW(filePath, This->filePathName); 880 CoTaskMemFree(filePath); 881 if ( result == 0 ) return S_OK; 882 } 883 return S_FALSE; 884 888 885 } 889 886 … … 1100 1097 int len=lstrlenW(str); 1101 1098 1099 TRACE("%s, %p\n", debugstr_w(str), *stringTable); 1100 1102 1101 strgtable =CoTaskMemAlloc(len*sizeof(LPOLESTR)); 1103 1102
Note:
See TracChangeset
for help on using the changeset viewer.