|
@ -246,6 +246,7 @@ void getRaspiStorage(LPWSTR out) { |
|
|
if (!GetLogicalDriveStringsW(ARRAYSIZE(myDrives)-1, myDrives)) |
|
|
if (!GetLogicalDriveStringsW(ARRAYSIZE(myDrives)-1, myDrives)) |
|
|
{ |
|
|
{ |
|
|
//wprintf(L"GetLogicalDrives() failed with error code: %lu\n", GetLastError());
|
|
|
//wprintf(L"GetLogicalDrives() failed with error code: %lu\n", GetLastError());
|
|
|
|
|
|
MessageBox(hWnd, L"GetLogicalDrives() has failed", L"Failed", MB_OK); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|