19{
25
26 struct {
28 WCHAR PartialName[10];
30
31 struct {
34 } AttributeInfo;
35
52
69
73 &FileFsSizeInfo,
74 sizeof(FileFsSizeInfo),
83
84 RtlFillMemory(&FileFsDeviceInfo,
sizeof(FileFsDeviceInfo), 0xFF);
87 &FileFsDeviceInfo,
88 sizeof(FileFsDeviceInfo),
95
99 &AttributeInfo,
100 sizeof(AttributeInfo),
105 ok_eq_long(AttributeInfo.MaximumComponentNameLength, 0xFFFFFFFF);
106 ok_eq_ulong(AttributeInfo.FileSystemNameLength, 8);
108 ok_eq_wchar(AttributeInfo.FileSystemName[4], 0xFFFF);
110
114 &AttributeInfo,
120 ok_eq_long(AttributeInfo.MaximumComponentNameLength, 0xFFFFFFFF);
121 ok_eq_ulong(AttributeInfo.FileSystemNameLength, 8);
123 ok_eq_wchar(AttributeInfo.FileSystemName[4], 0xFFFF);
125
126 RtlFillMemory(&FileFsFullSizeInfo,
sizeof(FileFsFullSizeInfo), 0xFF);
129 &FileFsFullSizeInfo,
130 sizeof(FileFsFullSizeInfo),
140}
#define ok_eq_ulong(value, expected)
#define ok_eq_longlong(value, expected)
#define ok_eq_long(value, expected)
#define ok_bool_false(value, desc)
#define ok_eq_size(value, expected)
#define ok_eq_wchar(value, expected)
#define RtlCompareMemory(s1, s2, l)
struct _FILE_FS_ATTRIBUTE_INFORMATION FILE_FS_ATTRIBUTE_INFORMATION
@ FileFsDeviceInformation
@ FileFsAttributeInformation
@ FileFsVolumeInformation
#define FILE_CASE_PRESERVED_NAMES
#define RtlFillMemory(Dest, Length, Fill)
static OUT PIO_STATUS_BLOCK IoStatusBlock
#define FileFsFullSizeInformation
NTSYSAPI NTSTATUS NTAPI ZwQueryVolumeInformationFile(IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, OUT PVOID FsInformation, IN ULONG Length, IN FS_INFORMATION_CLASS FsInformationClass)
#define FILE_DEVICE_NAMED_PIPE
struct _FILE_FS_VOLUME_INFORMATION FILE_FS_VOLUME_INFORMATION
#define STATUS_BUFFER_OVERFLOW
#define FIELD_OFFSET(t, f)