20{
22 TCHAR szRootPath[4] =
_T(
"A:\\");
35
36 if (
_tcslen (szDisk) < 2 || szDisk[1] !=
_T(
':'))
37 {
39 return;
40 }
41
42 szRootPath[0] = szDisk[0];
44
47 {
50 return;
51 }
52
53 if (szVolume[0] ==
_T(
'\0'))
54 {
55
58 }
59
64
66 &dwBytPerSec, &dwFreeCl, &dwTotCl))
67 {
70 return;
71 }
72
73 uliSize = dwSecPerCl * dwBytPerSec * (
ULONGLONG)dwTotCl;
75
76 uliSize = dwSecPerCl * dwBytPerSec * (
ULONGLONG)(dwTotCl - dwFreeCl);
78
79 uliSize = dwSecPerCl * dwBytPerSec * (
ULONGLONG)dwFreeCl;
81
83}
#define RC_STRING_MAX_SIZE
INT ConvertULargeInteger(ULONGLONG num, LPTSTR des, UINT len, BOOL bPutSeparator)
#define ConErrPrintf(szStr,...)
#define ConErrResPrintf(uID,...)
#define STRING_FREE_ERROR2
#define STRING_FREE_HELP1
#define STRING_FREE_ERROR1
#define ConOutResPrintf(uID,...)
#define GetVolumeInformation