Skip to content

Commit

Permalink
Update PhyDrive.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy authored May 18, 2020
1 parent 84c5006 commit 9654179
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Ventoy2Disk/Ventoy2Disk/PhyDrive.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* PhyDrive.c
*
* Copyright (c) 2020, longpanda <admin@ventoy.net>
* Copyright (c) 2011-2020, Pete Batard <pete@akeo.ie>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
Expand Down Expand Up @@ -29,6 +30,10 @@
#include "fat_filelib.h"
#include "ff.h"

/*
* Some code and functions in the file are copied from rufus.
* https://github.com/pbatard/rufus
*/
#define VDS_SET_ERROR SetLastError
#define IVdsServiceLoader_LoadService(This, pwszMachineName, ppService) (This)->lpVtbl->LoadService(This, pwszMachineName, ppService)
#define IVdsServiceLoader_Release(This) (This)->lpVtbl->Release(This)
Expand Down

0 comments on commit 9654179

Please sign in to comment.