176
176
monitor = G_WIN32_VOLUME_MONITOR (volume_monitor);
178
179
find_handle = FindFirstVolumeW (wc_name, MAX_PATH);
179
180
found = (find_handle != INVALID_HANDLE_VALUE);
182
198
wchar_t wc_dev_name[MAX_PATH+1];
185
201
/* remove trailing backslash and leading \\?\\ */
186
202
wc_name[trailing] = L'\0';
189
205
gchar *name = g_utf16_to_utf8 (wc_dev_name, -1, NULL, NULL, NULL);