mirror of
https://github.com/reactos/reactos.git
synced 2025-08-08 13:23:03 +00:00
[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:
parent
d82796778f
commit
25c7e1a8d0
58 changed files with 21984 additions and 0 deletions
|
@ -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)
|
||||
|
|
10
modules/rosapps/applications/cmdutils/vfdcmd/CMakeLists.txt
Normal file
10
modules/rosapps/applications/cmdutils/vfdcmd/CMakeLists.txt
Normal 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)
|
3498
modules/rosapps/applications/cmdutils/vfdcmd/vfdcmd.c
Normal file
3498
modules/rosapps/applications/cmdutils/vfdcmd/vfdcmd.c
Normal file
File diff suppressed because it is too large
Load diff
6
modules/rosapps/applications/cmdutils/vfdcmd/vfdcmd.rc
Normal file
6
modules/rosapps/applications/cmdutils/vfdcmd/vfdcmd.rc
Normal 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>
|
49
modules/rosapps/applications/cmdutils/vfdcmd/vfdcmd.rs
Normal file
49
modules/rosapps/applications/cmdutils/vfdcmd/vfdcmd.rs
Normal 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
|
1596
modules/rosapps/applications/cmdutils/vfdcmd/vfdmsg.mc
Normal file
1596
modules/rosapps/applications/cmdutils/vfdcmd/vfdmsg.mc
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue