#include "diskpart.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ filesystems_main()
Definition at line 88 of file filesystems.c.
91{
93 {
96 }
97
99
102
104}
void ConPuts(FILE *fp, LPCWSTR psz)
void ConResPuts(FILE *fp, UINT nID)
#define IDS_SELECT_NO_VOLUME
static VOID ShowInstalledFileSystems(_In_ PVOLENTRY VolumeEntry)
static VOID ShowFileSystemInfo(_In_ PVOLENTRY VolumeEntry)
◆ ShowFileSystemInfo()
Definition at line 16 of file filesystems.c.
18{
22
25
27
28 ulClusterSize = VolumeEntry->SectorsPerAllocationUnit * VolumeEntry->BytesPerSector;
30 {
33 }
35 {
38 }
39
40 wsprintf(szBuffer,
L"%lu %s", ulClusterSize, pszSizeUnit);
44}
void ConResPrintf(FILE *fp, UINT nID,...)
#define IDS_FILESYSTEMS_CURRENT
#define IDS_FILESYSTEMS_SERIAL_NUMBER
#define IDS_FILESYSTEMS_CLUSTERSIZE
#define IDS_FILESYSTEMS_TYPE
ULONGLONG RoundingDivide(IN ULONGLONG Dividend, IN ULONGLONG Divisor)
Referenced by filesystems_main().
◆ ShowInstalledFileSystems()
Definition at line 49 of file filesystems.c.
51{
58
62
65
66 for (dwIndex = 0; ; dwIndex++)
67 {
69 szBuffer,
70 &uMajor,
71 &uMinor,
72 &bLatest);
74 break;
75
76 if (
wcscmp(szBuffer,
L"FAT") == 0)
77 wcscat(szBuffer, szDefault);
78
83 }
84}
#define IDS_FILESYSTEMS_FORMATTING
#define IDS_FILESYSTEMS_DEFAULT
BOOLEAN NTAPI QueryAvailableFileSystemFormat(IN DWORD Index, IN OUT PWCHAR FileSystem, OUT UCHAR *Major, OUT UCHAR *Minor, OUT BOOLEAN *LatestVersion)
INT WINAPI DECLSPEC_HOTPATCH LoadStringW(HINSTANCE instance, UINT resource_id, LPWSTR buffer, INT buflen)
_ACRTIMP int __cdecl wcscmp(const wchar_t *, const wchar_t *)
Referenced by filesystems_main().