From 7f5a002f96f995ac09b6993ab7ca289d70b0036b Mon Sep 17 00:00:00 2001 From: Adam Murdoch Date: Sun, 21 Oct 2012 16:45:20 +1100 Subject: [PATCH] Added a TODO. --- src/main/cpp/win.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/cpp/win.cpp b/src/main/cpp/win.cpp index f75e5cb..02ea0a3 100755 --- a/src/main/cpp/win.cpp +++ b/src/main/cpp/win.cpp @@ -96,6 +96,7 @@ Java_net_rubygrapefruit_platform_internal_jni_PosixFileSystemFunctions_listFileS wchar_t* cur = pathNames; if (cur[0] != L'\0') { + // TODO - use GetDriveTypeW() to determine if removable, remote, etc if(GetVolumeInformationW(cur, NULL, 0, NULL, NULL, NULL, fsName, MAX_PATH+1) == 0) { if (GetLastError() != ERROR_NOT_READY) { mark_failed_with_errno(env, "could not query volume information", result);