11#define MAX_INSTANCES 1
28 WCHAR PartialName[10];
74 sizeof(FileFsSizeInfo),
84 RtlFillMemory(&FileFsDeviceInfo,
sizeof(FileFsDeviceInfo), 0xFF);
88 sizeof(FileFsDeviceInfo),
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);
120 ok_eq_long(AttributeInfo.MaximumComponentNameLength, 0xFFFFFFFF);
121 ok_eq_ulong(AttributeInfo.FileSystemNameLength, 8);
123 ok_eq_wchar(AttributeInfo.FileSystemName[4], 0xFFFF);
126 RtlFillMemory(&FileFsFullSizeInfo,
sizeof(FileFsFullSizeInfo), 0xFF);
130 sizeof(FileFsFullSizeInfo),
static VOID TestVolumeInfo(IN HANDLE ServerHandle)
static KSTART_ROUTINE RunTest
#define ok_eq_hex(value, expected)
#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 NT_SUCCESS(StatCode)
#define INVALID_HANDLE_VALUE
#define RtlCompareMemory(s1, s2, l)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
struct _FILE_FS_ATTRIBUTE_INFORMATION FILE_FS_ATTRIBUTE_INFORMATION
@ FileFsDeviceInformation
@ FileFsAttributeInformation
@ FileFsVolumeInformation
#define FILE_CASE_PRESERVED_NAMES
#define RtlFillMemory(Dest, Length, Fill)
PKTHREAD KmtStartThread(IN PKSTART_ROUTINE StartRoutine, IN PVOID StartContext OPTIONAL)
VOID KmtFinishThread(IN PKTHREAD Thread OPTIONAL, IN PKEVENT Event OPTIONAL)
#define DEVICE_NAMED_PIPE
NTSTATUS NpCreatePipe(OUT PHANDLE ServerHandle, IN PCWSTR PipePath, IN ULONG ReadMode, IN ULONG CompletionMode, IN ULONG NamedPipeType, IN ULONG NamedPipeConfiguration, IN ULONG MaximumInstances, IN ULONG InboundQuota, IN ULONG OutboundQuota)
static OUT PIO_STATUS_BLOCK IoStatusBlock
#define UNREFERENCED_PARAMETER(P)
#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)
NTSTATUS NTAPI ObCloseHandle(IN HANDLE Handle, IN KPROCESSOR_MODE AccessMode)
#define FILE_DEVICE_NAMED_PIPE
struct _FILE_FS_VOLUME_INFORMATION FILE_FS_VOLUME_INFORMATION
#define STATUS_BUFFER_OVERFLOW
#define FIELD_OFFSET(t, f)