Disk (Windows): use sub thread to check accessiblity of remote volumes.

This commit is contained in:
李通洲
2024-05-04 15:15:00 +08:00
parent 5fb1286e15
commit 2fc9230b29
2 changed files with 53 additions and 34 deletions
+2
View File
@@ -406,6 +406,8 @@ void ffGenerateDiskJsonResult(FFDiskOptions* options, yyjson_mut_doc* doc, yyjso
yyjson_mut_arr_add_str(doc, typeArr, "Hidden");
if(item->type & FF_DISK_VOLUME_TYPE_READONLY_BIT)
yyjson_mut_arr_add_str(doc, typeArr, "Read-only");
if(item->type & FF_DISK_VOLUME_TYPE_UNKNOWN_BIT)
yyjson_mut_arr_add_str(doc, typeArr, "Unknown");
const char* pstr = ffTimeToFullStr(item->createTime);
if (*pstr)