mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 18:05:21 -04:00
[vhd] add cheat mode to save the current device to VHD
* Alt-V = Save to VHD
This commit is contained in:
parent
0e59b86abc
commit
4f0e8a24a8
5 changed files with 76 additions and 63 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue