"vscode:/vscode.git/clone" did not exist on "1e2cf2b541c7b22dbf5f0d5bf6da78d93eaa3648"
Unverified Commit 96541797 authored by longpanda's avatar longpanda Committed by GitHub
Browse files

Update PhyDrive.c

parent 84c50066
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* PhyDrive.c * PhyDrive.c
* *
* Copyright (c) 2020, longpanda <admin@ventoy.net> * 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 * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as
...@@ -29,6 +30,10 @@ ...@@ -29,6 +30,10 @@
#include "fat_filelib.h" #include "fat_filelib.h"
#include "ff.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 VDS_SET_ERROR SetLastError
#define IVdsServiceLoader_LoadService(This, pwszMachineName, ppService) (This)->lpVtbl->LoadService(This, pwszMachineName, ppService) #define IVdsServiceLoader_LoadService(This, pwszMachineName, ppService) (This)->lpVtbl->LoadService(This, pwszMachineName, ppService)
#define IVdsServiceLoader_Release(This) (This)->lpVtbl->Release(This) #define IVdsServiceLoader_Release(This) (This)->lpVtbl->Release(This)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment