diff options
Diffstat (limited to '')
| -rw-r--r-- | src/libs/dutil/WixToolset.DUtil/pathutil.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/pathutil.cpp b/src/libs/dutil/WixToolset.DUtil/pathutil.cpp index a9a19b9f..abbf4d4b 100644 --- a/src/libs/dutil/WixToolset.DUtil/pathutil.cpp +++ b/src/libs/dutil/WixToolset.DUtil/pathutil.cpp | |||
| @@ -1080,32 +1080,6 @@ LExit: | |||
| 1080 | } | 1080 | } |
| 1081 | 1081 | ||
| 1082 | 1082 | ||
| 1083 | DAPI_(HRESULT) PathCompare( | ||
| 1084 | __in_z LPCWSTR wzPath1, | ||
| 1085 | __in_z LPCWSTR wzPath2, | ||
| 1086 | __out int* pnResult | ||
| 1087 | ) | ||
| 1088 | { | ||
| 1089 | HRESULT hr = S_OK; | ||
| 1090 | LPWSTR sczPath1 = NULL; | ||
| 1091 | LPWSTR sczPath2 = NULL; | ||
| 1092 | |||
| 1093 | hr = PathExpand(&sczPath1, wzPath1, PATH_EXPAND_ENVIRONMENT | PATH_EXPAND_FULLPATH); | ||
| 1094 | PathExitOnFailure(hr, "Failed to expand path1."); | ||
| 1095 | |||
| 1096 | hr = PathExpand(&sczPath2, wzPath2, PATH_EXPAND_ENVIRONMENT | PATH_EXPAND_FULLPATH); | ||
| 1097 | PathExitOnFailure(hr, "Failed to expand path2."); | ||
| 1098 | |||
| 1099 | *pnResult = ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, sczPath1, -1, sczPath2, -1); | ||
| 1100 | |||
| 1101 | LExit: | ||
| 1102 | ReleaseStr(sczPath2); | ||
| 1103 | ReleaseStr(sczPath1); | ||
| 1104 | |||
| 1105 | return hr; | ||
| 1106 | } | ||
| 1107 | |||
| 1108 | |||
| 1109 | DAPI_(HRESULT) PathCompress( | 1083 | DAPI_(HRESULT) PathCompress( |
| 1110 | __in_z LPCWSTR wzPath | 1084 | __in_z LPCWSTR wzPath |
| 1111 | ) | 1085 | ) |
