ReactOS 0.4.16-dev-237-gd6eebaa
|
#include <windows.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <crtdbg.h>
#include "vfdtypes.h"
#include "vfdapi.h"
#include "vfdver.h"
#include "vfdmsg.h"
Go to the source code of this file.
Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | _CRTDBG_MAP_ALLOC |
#define | INVALID_FILE_ATTRIBUTES ((DWORD)-1) |
#define | VFD_OK 0 |
#define | VFD_NG 1 |
#define | OPERATION_ASK 0 |
#define | OPERATION_QUIT 1 |
#define | OPERATION_FORCE 2 |
#define | TARGET_NONE (ULONG)-1 |
#define | IS_WINDOWS_NT() ((GetVersion() & 0xff) < 5) |
#define | PROTECT_NONE 0 |
#define | PROTECT_ON 1 |
#define | PROTECT_OFF 2 |
#define | CMD_MATCH_NONE -1 |
#define | CMD_MATCH_MULTI -2 |
Typedefs | |
typedef int(* | cmdfnc) (const char **args) |
Variables | |
static DWORD | driver_state = VFD_NOT_INSTALLED |
static const char * | help_progname = "VFD.EXE " |
struct { | |
char * cmd | |
int max_args | |
cmdfnc func | |
DWORD hint | |
} | Commands [] |
struct { | |
char * keyword | |
DWORD help | |
} | HelpMsg [] |
#define CMD_MATCH_MULTI -2 |
#define CMD_MATCH_NONE -1 |
#define IS_WINDOWS_NT | ( | ) | ((GetVersion() & 0xff) < 5) |
#define PROTECT_NONE 0 |
#define PROTECT_OFF 2 |
#define PROTECT_ON 1 |
|
static |
Definition at line 2982 of file vfdcmd.c.
Referenced by Config(), Format(), Link(), Open(), Protect(), Save(), Start(), and Unlink().
Definition at line 1636 of file vfdcmd.c.
Definition at line 778 of file vfdcmd.c.
Definition at line 3164 of file vfdcmd.c.
Referenced by Help().
Definition at line 3389 of file vfdcmd.c.
Referenced by InteractiveConsole().
Definition at line 2259 of file vfdcmd.c.
Definition at line 2820 of file vfdcmd.c.
Definition at line 3015 of file vfdcmd.c.
Referenced by Close(), Format(), Open(), Remove(), Save(), and Stop().
Definition at line 535 of file vfdcmd.c.
|
static |
Definition at line 231 of file vfdcmd.c.
Referenced by main().
Definition at line 2414 of file vfdcmd.c.
Referenced by FxDeviceDescriptionEntry::_FromDescriptionLink(), FxDeviceDescriptionEntry::_FromModificationLink(), _Success_(), Bus_FDO_PnP(), Bus_PlugInDevice(), ClockUpdate(), CmGetSystemDriverList(), CsrApiPortInitialize(), CsrDestroyProcess(), CsrLocateThreadInProcess(), DECLSPEC_ALIGN(), DosRemoveDriver(), Ex2ProcessMountPoint(), ExNotifyCallback(), ExpDecodePoolLink(), ExpEncodePoolLink(), Ext2bhReaperThread(), Ext2FcbReaperThread(), Ext2FirstUnusedMcb(), FatBufferDirectory(), FindProcessForShutdown(), FxPoolDump(), IntCheckDesktopClasses(), IntFindClass(), IntGetClassAtom(), IntGetNextPowerCallout(), IopInitializeBootDrivers(), MmHapDecodeLink(), MountMgrDeletePoints(), MountMgrDeletePointsDbOnly(), NotifyUserProcessForShutdown(), CAppInfoDisplay::OnLink(), PciCacheLegacyDeviceRouting(), RtlpHashAtomName(), SYSLINK_SendParentNotify(), UDFCommonShutdown(), UDFInvalidateVolumes(), UDFRename(), UDFScanForDismountedVcb(), UDFVForget(), UDFVRead(), UDFVRelease(), UDFVStoreBlock(), UDFVVerify(), UDFVWrite(), Unload(), USBPORT_GetTt(), USBPORT_RemoveDevice(), UserUnregisterClass(), and WinLdrpDumpBootDriver().
Definition at line 164 of file vfdcmd.c.
Definition at line 1088 of file vfdcmd.c.
Definition at line 2870 of file vfdcmd.c.
Referenced by ProcessCommandLine().
Definition at line 3139 of file vfdcmd.c.
Referenced by Link(), PrintImageInfo(), and Unlink().
Definition at line 3051 of file vfdcmd.c.
Definition at line 3340 of file vfdcmd.c.
Referenced by CheckDriver(), Close(), Config(), Format(), InputChar(), Install(), InteractiveConsole(), Link(), main(), Open(), ParseCommand(), ParseHelpTopic(), PrintDriveLetter(), PrintImageInfo(), ProcessCommandLine(), Protect(), Remove(), Save(), Shell(), Start(), Status(), Stop(), and Unlink().
Definition at line 478 of file vfdcmd.c.
Referenced by InteractiveConsole(), and main().
Definition at line 2132 of file vfdcmd.c.
Definition at line 648 of file vfdcmd.c.
Definition at line 1851 of file vfdcmd.c.
Referenced by CallNextHookEx(), DECLARE_INTERFACE_(), DECLARE_INTERFACE_IID_(), KeRestoreFloatingPointState(), KeSaveFloatingPointState(), Moniker_Save(), and test_HlinkClone().
Definition at line 1020 of file vfdcmd.c.
Referenced by BasePushProcessParameters(), GetShell(), RunSetupThreadProc(), and StartShell().
Definition at line 853 of file vfdcmd.c.
Definition at line 2650 of file vfdcmd.c.
Definition at line 902 of file vfdcmd.c.
Definition at line 3368 of file vfdcmd.c.
Referenced by BasepCopyFileExW(), Close(), Config(), DECLARE_INTERFACE_(), Format(), Help(), Install(), InteractiveConsole(), Link(), Open(), PrintImageInfo(), ProcessCommandLine(), Protect(), Remove(), Save(), Shell(), Start(), Status(), Stop(), and Unlink().
Definition at line 2549 of file vfdcmd.c.
Referenced by CmpFreeKeyByCell().
const struct { ... } Commands[] |
Referenced by ParseCommand(), and ProcessCommandLine().
|
static |
const struct { ... } HelpMsg[] |
Referenced by Help(), main(), and ParseHelpTopic().
DWORD hint |
Definition at line 88 of file vfdcmd.c.
Referenced by __acquire_category(), __acquire_codecvt(), __acquire_collate(), __acquire_ctype(), __acquire_messages(), __acquire_monetary(), __acquire_numeric(), __acquire_time(), __GetLCIDFromName(), __TranslateToSystem(), _Loc_codecvt_create(), _Loc_collate_create(), _Loc_ctype_create(), _Loc_messages_create(), _Loc_monetary_create(), _Loc_numeric_create(), _Loc_time_create(), _Locale_extract_category_name(), _Locale_extract_collate_name(), _Locale_extract_ctype_name(), _Locale_extract_messages_name(), _Locale_extract_monetary_name(), _Locale_extract_numeric_name(), _Locale_extract_time_name(), cf2_hint_init(), cf2_hint_initZero(), cf2_hint_isBottom(), cf2_hint_isLocked(), cf2_hint_isPair(), cf2_hint_isPairTop(), cf2_hint_isSynthetic(), cf2_hint_isTop(), cf2_hint_isValid(), cf2_hint_lock(), cf2_hintmap_dump(), CShellItem::Compare(), CreateXmlReaderInputWithEncodingName(), GdipGetTextRenderingHint(), GdipSetTextRenderingHint(), _Locale_impl::insert_collate_facets(), _Locale_impl::insert_ctype_facets(), _Locale_impl::insert_messages_facets(), _Locale_impl::insert_monetary_facets(), _Locale_impl::insert_numeric_facets(), _Locale_impl::insert_time_facets(), locale::locale(), ProcessCommandLine(), ps_dimension_add_t1stem(), ps_hint_table_alloc(), psh_glyph_interpolate_strong_points(), psh_hint_align(), psh_hint_table_activate_mask(), psh_hint_table_align_hints(), psh_hint_table_deactivate(), psh_hint_table_find_strong_points(), psh_hint_table_record(), tcp_fast_path_on(), test_get_set_textrenderinghint(), test_GetAddrInfoW(), test_import_resolution(), test_ResolveDelayLoadedAPI(), to_primitive(), and ZSTD_decompressStream().
int max_args |
Definition at line 86 of file vfdcmd.c.
Referenced by ProcessCommandLine().