summaryrefslogtreecommitdiffstats
path: root/app/win_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/win_util.cc')
-rw-r--r--app/win_util.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/win_util.cc b/app/win_util.cc
index 9e1587e..4ad8b27 100644
--- a/app/win_util.cc
+++ b/app/win_util.cc
@@ -132,19 +132,6 @@ std::wstring FormatSystemDate(const SYSTEMTIME& date,
return output;
}
-bool ConvertToLongPath(const std::wstring& short_path,
- std::wstring* long_path) {
- wchar_t long_path_buf[MAX_PATH];
- DWORD return_value = GetLongPathName(short_path.c_str(), long_path_buf,
- MAX_PATH);
- if (return_value != 0 && return_value < MAX_PATH) {
- *long_path = long_path_buf;
- return true;
- }
-
- return false;
-}
-
bool IsDoubleClick(const POINT& origin,
const POINT& current,
DWORD elapsed_time) {