ReactOS 0.4.16-dev-976-g18fc5a1
|
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <wincon.h>
#include <conutils.h>
#include "resource.h"
#include <ndk/ntndk.h>
#include <fmifs/fmifs.h>
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | NTOS_MODE_USER |
#define | FMIFS_IMPORT_DLL |
Functions | |
static VOID | PrintWin32Error (int Message, DWORD ErrorCode) |
BOOL WINAPI | CtrlCIntercept (DWORD dwCtrlType) |
static VOID | Usage (PWCHAR ProgramName) |
static int | ParseCommandLine (int argc, WCHAR *argv[]) |
BOOLEAN WINAPI | ChkdskCallback (CALLBACKCOMMAND Command, DWORD Modifier, PVOID Argument) |
int | wmain (int argc, WCHAR *argv[]) |
Variables | |
BOOL | Error = FALSE |
BOOL | FixErrors = FALSE |
BOOL | SkipClean = FALSE |
BOOL | ScanSectors = FALSE |
BOOL | Verbose = FALSE |
PWCHAR | Drive = NULL |
WCHAR | CurrentDirectory [1024] |
BOOLEAN WINAPI ChkdskCallback | ( | CALLBACKCOMMAND | Command, |
DWORD | Modifier, | ||
PVOID | Argument | ||
) |
Definition at line 222 of file chkdsk.c.
Definition at line 141 of file chkdsk.c.
Referenced by wmain().
Definition at line 91 of file chkdsk.c.
Referenced by wmain().
Definition at line 358 of file chkdsk.c.
WCHAR CurrentDirectory[1024] |
Definition at line 74 of file chkdsk.c.
Referenced by BaseCheckVDM(), BasePushProcessParameters(), CreateProcessInternalA(), CreateProcessInternalW(), DosChangeDirectory(), DosKRNLInitialize(), InitExeName(), LdrpInitializeProcess(), ListDirectory(), MakeDirectory(), RtlCreateProcessParameters(), RtlpDosPathNameToRelativeNtPathName_Ustr(), Test_FindFirstFileA(), Test_FindFirstFileExA(), Test_FindFirstFileExW(), Test_FindFirstFileW(), WlxStartApplication(), and wmain().
Definition at line 73 of file chkdsk.c.
Referenced by AddSubst(), BiosDiskService(), DeleteSubst(), DosChangeDrive(), FmtAcquireDrive(), FmtAcquireDrive_(), FmtIsDriveAcquired(), GetRecycleBinPathFromDriveNumber(), CCleanupHandlerList::LoadHandlers(), main(), MainDialogProc(), CSelectDriveDlg::OnInitDialog(), ParseCommandLine(), QuerySubstedDrive(), SelectDrive(), SetDefaultPagefile(), SmpCreateVolumeDescriptors(), StartDefragThread(), Test_Drive_StorDeviceNumber(), UDFGetOptUlongInherited(), and wmain().
Definition at line 66 of file chkdsk.c.
Referenced by _RpcPrinterMessageBox(), _tWinMain(), AcceptDataConnection(), AcceptProc(), AdapterDiscoveryThread(), add_route(), AllocEventLogFilter(), append_multi_sz_value(), AreLegacyFunctionsSupported(), BochsFindAdapter(), BochsGetControllerInfo(), BochsInitialize(), BochsInitializeSuitableModeInfo(), BochsMapVideoMemory(), BochsSetCurrentMode(), BochsStartIO(), BochsUnmapVideoMemory(), ChkdskCallback(), CloseProcessAndVerify_(), CmpDoFlushNextHive(), CopyKey(), CreatePartition(), CreateStandardProfile(), CreateUserHive(), CreateUserProfileExW(), del_route(), do_reg_operation(), DoEntry(), DoLoadItems(), DoStartStartupItems(), DoTestComputerName(), DoWriteProductOption(), DoWriteSoundEvents(), DriveDlgProc(), DriverEntry(), FxPkgIo::EnqueueRequest(), EnumFilesWorker(), ErrMsg(), ErrorBox(), CShellCommandSACL::Execute(), FindAdapterKey(), FT_Bitmap_Blend(), ftGdiGetFontData(), ftGdiGetTextMetricsW(), FTPAbortDataTransfer(), FTPAllocateHost(), FTPChdirAndGetCWD(), FTPCmd(), FTPEndDataCmd(), FTPFileExistsStat(), FTPFileModificationTime(), FTPFileSize(), FTPGetCWD(), FTPGetFiles3(), FTPGetLocalCWD(), FTPGetOneF(), FTPList(), FTPListToMemory2(), FTPLocalRecursiveFileList2(), FTPLoginHost(), FTPMkdir2(), FTPMListOneFile(), FTPPutOneF(), FTPRemoteHelp(), FTPSetTransferType(), FTPStartDataCmd(), FTPUtime(), GetAllUsersProfileDirectoryW(), GetCurrentUserKey(), GetDefaultUserProfileDirectoryW(), GetDesktopPath(), GetDeviceDataCallback(), GetDiskGeometry(), GetOwnerModuleFromPidEntry(), GetProcessVersion(), GetProfilesDirectoryW(), GetProgramsPath(), GetRegKeys(), GetResponse(), GetSocketAddress(), GetSubkeyNames(), GetUserProfileDirectoryW(), InitializeProfiles(), InitializeProgramFilesDir(), InitializeSetup(), IntCreateWindow(), IntGdiLoadFontByIndexFromMemory(), IntGdiLoadFontsFromMemory(), IntGetFontLocalizedName(), IntGetOutlineTextMetrics(), IntLoadRegistryParameters(), IntSetOwner(), KeConnectInterrupt(), KiNpxHandler(), KiTrap13Handler(), KmtCloseDriver(), KmtCloseService(), KmtCreateAndStartService(), KmtDeleteService(), KmtEnsureServiceState(), KmtFltAddAltitude(), KmtFltConnect(), KmtFltDisconnect(), KmtFltGetMessage(), KmtFltGetMessageResult(), KmtFltLoad(), KmtFltLoadDriver(), KmtFltReplyMessage(), KmtFltSendBufferToDriver(), KmtFltSendMessage(), KmtFltUnload(), KmtFltUnloadDriver(), KmtLoadAndOpenDriver(), KmtOpenDriver(), KmtpCreateService(), KmtRunKernelTest(), KmtServiceCleanup(), KmtServiceInit(), KmtStartService(), KmtStopService(), KmtUnloadDriver(), KmtUnloadDriverKeepService(), KmtUserCallbackThread(), LazyUnixLocalGlob(), LibTCPConnectCallback(), ListTests(), LoadInstallableVDD(), LoadModule(), LoadSettings(), LoadTcpIpTestDriver(), LoadUserProfileW(), main(), Main(), MainWnd_OnUpdateRegistry(), MapAndLoad(), MiMapLockedPagesInUserSpace(), FxPkgGeneral::OnCreate(), OpenComputerNameKey(), OpenControlConnection(), OpenDataConnection(), OpenHostNameKey(), OpenRegKey(), OutputError(), OutputResult(), Passive(), Pc98VidFindAdapter(), Pc98VidMapVideoMemory(), pointer_default(), PrepareAdapterForService(), PrinterMessageBoxW(), PrintErrorMessage(), PrintFileDacl(), PrintParserError(), PrintRoutes(), QueryDeviceName(), QueryRegistryValue(), QuerySuggestedLinkName(), QueryUniqueId(), RegisterComponents(), RegisterDlls(), RegistryPage(), RegReadString(), ReplaceFileW(), RunOnceExInstance::RunOnceExInstance(), RunOnceExSection::RunOnceExSection(), RunTest(), SelectPartitionPage(), SendCommand(), SendPort(), SendTelnetInterrupt(), SetStartOffset(), SetSystemEnvironment(), SetupDiGetClassRegistryPropertyA(), SetupDiGetClassRegistryPropertyW(), SetupDiSetClassRegistryPropertyA(), SetupDiSetClassRegistryPropertyW(), SetupStartPage(), SetUserEnvironment(), SHCreateSessionKey(), SHELL_ErrorBoxHelper(), CZipExtract::ShowExtractError(), SpiProcessCompletedRequest(), START_TEST(), startup(), StatisticsMain(), SuccessOrReportError(), test_NhGetInterfaceNameFromDeviceGuid(), test_NhGetInterfaceNameFromGuid(), Test_Truncate(), TestBind(), TestEntry(), TestGetComputerNameEx(), TestNodeName(), TestServiceName(), Traverse(), UDFEjectReqWaiter(), UDFPrepareForWriteOperation(), UDFRecoverFromError(), UpdateUsersShellFolderSettings(), Utf8Convert_(), VBEInitialize(), VbeSetColorLookup(), VBESetCurrentMode(), VerifyMenu(), VerifyWnd(), VideoPortDebugPrint(), WaitExpect_(), wmain(), and WsTcFindIfsProviderForSocket().
Definition at line 69 of file chkdsk.c.
Referenced by ChkdskEx(), ChkdskFileSystem(), ChkdskFileSystem_UStr(), ChkdskPartition(), ChkdskVolume(), FstubVerifyPartitionTableEFI(), IoVerifyPartitionTable(), ParseCommandLine(), VfatChkdsk(), and wmain().
Definition at line 71 of file chkdsk.c.
Referenced by ParseCommandLine(), and wmain().
Definition at line 70 of file chkdsk.c.
Referenced by ParseCommandLine(), and wmain().
Definition at line 72 of file chkdsk.c.
Referenced by Chkdsk(), ChkdskEx(), ChkdskFileSystem(), ChkdskFileSystem_UStr(), ChkdskPartition(), ChkdskVolume(), DoLAYOUT(), DoParsing(), DoSHIFTSTATE(), getCharacterInfo(), ParseCommandLine(), VfatChkdsk(), and wmain().