Go to the source code of this file.
◆ cmd_vol()
Definition at line 64 of file vol.c.
65{
66 TCHAR szRootPath[] =
_T(
"A:\\");
68
70 {
72 return 0;
73 }
74
76
78 {
81 }
82 else
83 {
86 {
87 szRootPath[0] =
param[0];
88 }
89 else
90 {
93 return 1;
94 }
95 }
96
98 {
101 return 1;
102 }
103
104
106 {
108 return 1;
109 }
110
111 return 0;
112}
VOID error_invalid_drive(VOID)
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
static BOOL IsValidPathName(LPCWSTR pszPath)
static INT PrintVolumeHeader(LPTSTR pszRootPath)
#define GetCurrentDirectory
◆ PrintVolumeHeader()
static INT PrintVolumeHeader |
( |
LPTSTR |
pszRootPath | ) |
|
|
static |
Definition at line 29 of file vol.c.
30{
33
34
36 szVolName,
37 80,
38 &dwSerialNr,
42 0))
43 {
45 return 1;
46 }
47
48
49 if (szVolName[0] != '\0')
50 {
52 }
53 else
54 {
56 }
57
58
60 return 0;
61}
static VOID ErrorMessage(_In_ DWORD dwErrorCode, _In_opt_ PCWSTR pszMsg,...)
#define ConOutResPrintf(uID,...)
#define GetVolumeInformation
DWORD WINAPI GetLastError(void)
Referenced by cmd_vol().