From ff5fb8b997650e3c118ca1b4c4b5ee01f1de1d6e Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Wed, 18 Jul 2018 00:55:07 +0200 Subject: [PATCH] fix compiler errors --- windows-snapshot-tool/bin/freeze.exe | Bin 397572 -> 398905 bytes .../build/CMakeFiles/Progress/1 | 1 - .../build/CMakeFiles/Progress/count.txt | 1 - .../build/CMakeFiles/freeze.dir/objects.a | Bin 0 -> 9876 bytes .../build/CMakeFiles/freeze.dir/src/main.obj | Bin 0 -> 8262 bytes .../CMakeFiles/freeze.dir/src/resource.res | Bin 0 -> 1158 bytes windows-snapshot-tool/src/main.cpp | 50 +++--------------- 7 files changed, 7 insertions(+), 45 deletions(-) delete mode 100644 windows-snapshot-tool/build/CMakeFiles/Progress/1 delete mode 100644 windows-snapshot-tool/build/CMakeFiles/Progress/count.txt create mode 100644 windows-snapshot-tool/build/CMakeFiles/freeze.dir/objects.a create mode 100644 windows-snapshot-tool/build/CMakeFiles/freeze.dir/src/main.obj create mode 100644 windows-snapshot-tool/build/CMakeFiles/freeze.dir/src/resource.res diff --git a/windows-snapshot-tool/bin/freeze.exe b/windows-snapshot-tool/bin/freeze.exe index d46f7a377db01b0782ff13e673da66274fa9ed31..1ed8efe1d68e624fa76ed6cd9c83491bac41ea1b 100755 GIT binary patch delta 18000 zcmch8dt6mj8unWIoQ((wh};C^b`BR66_AjW^rWC@jvmpxl3?Pk2uU%?Oz@TxTIfcX zl^K>bR;H#VYF3!$Ei)=B%S+@~ADTJVIF93(e9yc0K9}98`F+3dkJHJ!}G-C$soAj5V`1+?PwyERiubaMjD1rhA|AT6LzgPlYdl zdd6bS%82B2#m2+sz*&r~6Q3=U!&ar5#r6ZTx6dXkSb>m4^`e_ zQu!pt?5K>{A>NP_5XDC>kkaFo>2e~EQ=XNJ_%`R80Dolo#a3$9#RgpN#Zfer8cqB%oxSj+a}!= zqx{7?Rx-sXGrbdeiL%x^;jVY08M`#^x7OC0+}caccUoIvs-+6x%H4=0TloR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n?Uqv}AMQT4Z7F$YH!8JrvgsvyY3`a=$+w_D6RKD#Q3gnN5_KR_GABiF^0% z-T3vf|g z($yE#8-3xfpx%*fX^!~1=v!t-ZB0g)sQSKGJQ7n#@$BS@1Or`lvA%e3Rzt=%cS_r- z=oWp1PrN~z@bpId1)nvW(bE_)Ht4&=*I4fSI(&8vu8l^uodHAfh+-0fb|}JaF<&?y z#ABY>mi4nC5Rdu{f3NH$v(pq8zHAA^1D!!V+r`tX2ZP@12Vcdyh^;je?TfbH!)tedH66%AI zxVd@2IQ}Uj(iijVM2@HZ}^K*(OnhD!$RjJ-B5c86BlAN+)|Gg$mnH!=1Zo-IFHgdbkmUBClA{pc+Ry9x=y zV=ez-%@KDVkHQxqN2|-mO0d*umC=e6JIMew;h4*4wbC&c_kG#Dg{0;%EL!$Y(BtP3 literal 0 HcmV?d00001 diff --git a/windows-snapshot-tool/build/CMakeFiles/freeze.dir/src/main.obj b/windows-snapshot-tool/build/CMakeFiles/freeze.dir/src/main.obj new file mode 100644 index 0000000000000000000000000000000000000000..f1782c35e2043d7dbf20e3ee70714a77d523782c GIT binary patch literal 8262 zcmc&(du&_P89ymbYPt*u7N!D)y3DLCgEVRSNP%u{lG`LCZnHXRV1Qi5xk=pmh3_?K zORFV~tzlei-2@ubG)CwK47G!4l^Sh4LR%4#V3fhO4pmd76)mCB6lsyDV37U3@7UMZ zzGdT&J#LkAe&=_-^S#b@&b8f+vT{Ms!K;PvFtU}^=<05rv22>ZD8yO7-Boftg3c*w zchvOxb-$#zeS-Kagg5|Q^pxSxEp|-Q^lBOtx#rwu=8?q1Bo{AM_!tySK%e<>i(2=p zHD-o<5#p|#Z}}OL>rTHvGV>6aNtsIiWA&mD52aE_3xTmUDElc?+q^cMtdoSU3*f#f5SX9XYs$1Y2oA$>!NHfk28i z(m1P}Epfr|C}s1;k_lVs_`=bQa{l!bRRWdf9i3UjC9y%NOkB?qn3dX66BbV$Q^%2R zxn)lQWt7U%i&c(fH!#4^;?au>97!*a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<;c(f>|kpFpae>p=d8^ zJ`{=uOb#;H5e@7rL{159gHFv|s1NDcW_-BpF|j@Ipso_>UTxH>G}9e{8M98dvpKGs OPC`>Cs^u;Z82=}%f-mC$ literal 0 HcmV?d00001 diff --git a/windows-snapshot-tool/build/CMakeFiles/freeze.dir/src/resource.res b/windows-snapshot-tool/build/CMakeFiles/freeze.dir/src/resource.res new file mode 100644 index 0000000000000000000000000000000000000000..ca5a6e982acb5c7d719926419a7b377a066f39af GIT binary patch literal 1158 zcma)+F-inM5JjtZ2UZhZ&_FP7U;~ZB&_K`w7_@lVWbPE(sT zJFGXXELnuO|M>*J&Av_M6byC`co<2+-2aUB;<_K&#}@ql(6FA6OR^?|9Z>&>wr!gj z$@hDUpXj;{8&#nZa51Yr@rzfbg-?U&+yY=u2LT9}!jreC{cXAqo|ci^P+;FN{t#We zP$yd*L7h~`Bu>Rx62k=si?6zmfNC0ac`&4(nE(<_8S;^2D1iJL`H!EA$(9CbA&Imz zQo;Zv7^((UMT*bO!tl8{$4EpzLYo^VaUAMPVR+k^z4G|qS7x6J@|Zj_`?^%NaJI*P pde|p#&bg0WbbS80f-QM!{>uDC>PynNL@eTK70SOY?wVUg{RRy~NWlOA literal 0 HcmV?d00001 diff --git a/windows-snapshot-tool/src/main.cpp b/windows-snapshot-tool/src/main.cpp index ff878c1..073ed2d 100644 --- a/windows-snapshot-tool/src/main.cpp +++ b/windows-snapshot-tool/src/main.cpp @@ -232,7 +232,7 @@ void InitNotifyIconData() } -void getRaspiStorage() { +void getRaspiStorage(LPWSTR out) { // GetLogicalDrives() // for result // if result.GetDriveType() == DRIVE_REMOVABLE @@ -245,58 +245,22 @@ void getRaspiStorage() { 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()); + return; } else { - wprintf(L"This machine has the following logical drives:\n"); - for (LPWSTR drive = myDrives; *drive != 0; drive += 4) { driveType = GetDriveTypeW(drive); - wprintf(L"Drive %s is type %d - ", drive, driveType); - - switch (driveType) - { - case DRIVE_UNKNOWN: - wprintf(L"Cannot be determined!"); - break; - case DRIVE_NO_ROOT_DIR: - wprintf(L"Invalid root path/Not available."); - break; - case DRIVE_REMOVABLE: - wprintf(L"Removable."); - break; - case DRIVE_FIXED: - wprintf(L"Fixed."); - break; - case DRIVE_REMOTE: - wprintf(L"Network."); - break; - case DRIVE_CDROM: - wprintf(L"CD-ROM."); - break; - case DRIVE_RAMDISK: - wprintf(L"RAMDISK."); - break; - default: - wprintf(L"Unknown value!"); - } - wprintf(L"\n"); - if (driveType == DRIVE_CDROM) + if (driveType == DRIVE_REMOVABLE) { if (GetVolumeInformationW(drive, volumeName, ARRAYSIZE(volumeName), &serialNumber, &maxComponentLen, &fileSystemFlags, fileSystemName, ARRAYSIZE(fileSystemName))) { - wprintf(L" There is a CD/DVD in the drive:\n"); - wprintf(L" Volume Name: %s\n", volumeName); - wprintf(L" Serial Number: %08X\n", serialNumber); - wprintf(L" File System Name: %s\n", fileSystemName); - wprintf(L" Max Component Length: %lu\n", maxComponentLen); - } - else - { - wprintf(L" There is NO CD/DVD in the drive"); + if (wcscmp(volumeName, L"SCREENSHOTS")) { + wcsncpy(drive, out, sizeof(out)); + } } } }