[vhd] add cheat mode to save the current device to VHD

* Alt-V = Save to VHD
This commit is contained in:
Pete Batard 2015-06-07 22:51:54 +01:00
parent 0e59b86abc
commit 4f0e8a24a8
5 changed files with 76 additions and 63 deletions

View file

@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <windows.h>
#include <winioctl.h> // for DISK_GEOMETRY
#include <winioctl.h> // for DISK_GEOMETRY
#include <malloc.h>
#include <inttypes.h>
@ -287,6 +287,11 @@ typedef struct {
char* release_notes;
} RUFUS_UPDATE;
typedef struct {
DWORD DeviceNum;
char* path;
} VHD_SAVE;
/*
* Structure and macros used for the extensions specification of FileDialog()
* You can use: