#include "precomp.h"
#include <ntstrsafe.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ Chkdsk()
Definition at line 19 of file chkdsk.c.
29{
36
39 {
40
41 goto Quit;
42 }
43
45 goto Quit;
46
47 if (DriveName[
wcslen(DriveName) - 1] !=
L'\\')
48 {
49
51 goto Quit;
52 }
53
55 {
56
57 DPRINT1(
"Couldn't get a volume GUID path for drive %S\n", DriveName);
59 }
60
62 goto Quit;
63
64
66
71 CorrectErrors,
73 CheckOnlyIfDirty,
74 ScanDrive,
82
84
85Quit:
86
88}
#define NT_SUCCESS(StatCode)
_Must_inspect_result_ _Inout_opt_ PUNICODE_STRING VolumeName
return pInstance GetProvider() -> GetHandle()
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
BOOL WINAPI GetVolumeNameForVolumeMountPointW(IN LPCWSTR VolumeMountPoint, OUT LPWSTR VolumeName, IN DWORD VolumeNameLength)
NTSYSAPI BOOLEAN NTAPI RtlDosPathNameToNtPathName_U(_In_opt_z_ PCWSTR DosPathName, _Out_ PUNICODE_STRING NtPathName, _Out_opt_ PCWSTR *NtFileNamePart, _Out_opt_ PRTL_RELATIVE_NAME_U DirectoryInfo)
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
NTSTRSAFEAPI RtlStringCchCopyW(_Out_writes_(cchDest) _Always_(_Post_z_) NTSTRSAFE_PWSTR pszDest, _In_ size_t cchDest, _In_ NTSTRSAFE_PCWSTR pszSrc)
NTSTRSAFEAPI RtlStringCchCatW(_Inout_updates_(cchDest) _Always_(_Post_z_) NTSTRSAFE_PWSTR pszDest, _In_ size_t cchDest, _In_ NTSTRSAFE_PCWSTR pszSrc)
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Referenced by ChkDskNow(), and wmain().