[VFD] Import the VFD project (Virtual Floppy Drive) which allows creating virtual

floppy drives in ReactOS and mount images on them.
Only the cmd got imported. The GUI interface may come later on.
Note that, as for vcdrom, the driver is left disabled and you need to explicitely
start it through vfd command line interface.

CORE-14090
This commit is contained in:
Pierre Schweitzer 2017-12-16 21:48:17 +01:00
parent d82796778f
commit 25c7e1a8d0
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
58 changed files with 21984 additions and 0 deletions

View file

@ -6,5 +6,6 @@ add_subdirectory(tee)
add_subdirectory(touch)
add_subdirectory(uptime)
add_subdirectory(vcdcli)
add_subdirectory(vfdcmd)
add_subdirectory(winspool_print)
add_subdirectory(y)

View file

@ -0,0 +1,10 @@
add_message_headers(ANSI vfdmsg.mc)
include_directories(${REACTOS_SOURCE_DIR}/modules/rosapps/include/vfd)
add_executable(vfdcmd vfdcmd.c vfdcmd.rc)
set_module_type(vfdcmd win32cui)
add_importlibs(vfdcmd advapi32 vfd user32 msvcrt kernel32 ntdll)
add_dependencies(vfdcmd vfdmsg)
set_target_properties(vfdcmd PROPERTIES OUTPUT_NAME "vfd")
add_cd_file(TARGET vfdcmd DESTINATION reactos/system32 FOR all)

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,6 @@
#define REACTOS_STR_FILE_DESCRIPTION "Virtual Floppy Controler"
#define REACTOS_STR_INTERNAL_NAME "vfdcmd"
#define REACTOS_STR_ORIGINAL_FILENAME "vfdcmd.exe"
#include <reactos/version.rc>
#include <vfdmsg.rc>

View file

@ -0,0 +1,49 @@
/*
vfdcmd.rs
Virtual Floppy Drive for Windows
Driver control program (console version)
Resource script
The non-standard extension ".rs" is intentional, so that
Microsoft Visual Studio won't try to open this file with
the resource editor
Copyright (c) 2003-2005 Ken Kato
*/
#ifndef APSTUDIO_INVOKED
//
// version resource
//
#include <winver.h>
#include "vfdver.h"
#define VFD_FILEOS VOS_NT_WINDOWS32
#define VFD_FILETYPE VFT_APP
#define VFD_FILESUBTYPE VFT2_UNKNOWN
#define VFD_DESCRIPTION "Virtual Floppy Drive Console"
#define VFD_INTERNALNAME "vfd.exe"
#define VFD_FILE_MAJOR 2
#define VFD_FILE_MINOR 1
//
// for Japanese version resources
//
#define VFD_VERSIONINFO_ALT "041104B0"
#undef VFD_VERSIONINFO_TRANS
#define VFD_VERSIONINFO_TRANS 0x0409, 0x04B0, 0x0411, 0x04B0
#define VFD_DESCRIPTION_ALT "Virtual Floppy Drive ƒRƒ“ƒ\<EFBFBD>[ƒ‹"
#define VFD_PRODUCT_NAME_ALT VFD_PRODUCT_NAME
#include "vfdver.rc"
//
// Message resource
//
#include "vfdmsg.rc"
#endif // not APSTUDIO_INVOKED

File diff suppressed because it is too large Load diff