include: Rename the FileSystemAttribute field of FILE_FS_ATTRIBUTE_INFORMATION to FileSystemAttributes.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ab0a3cb2ff
commit
97e88a56bc
|
@ -3248,9 +3248,9 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io
|
|||
FILE_FS_ATTRIBUTE_INFORMATION *info = buffer;
|
||||
|
||||
FIXME( "%p: faking attribute info\n", handle );
|
||||
info->FileSystemAttribute = FILE_SUPPORTS_ENCRYPTION | FILE_FILE_COMPRESSION |
|
||||
FILE_PERSISTENT_ACLS | FILE_UNICODE_ON_DISK |
|
||||
FILE_CASE_PRESERVED_NAMES | FILE_CASE_SENSITIVE_SEARCH;
|
||||
info->FileSystemAttributes = FILE_SUPPORTS_ENCRYPTION | FILE_FILE_COMPRESSION |
|
||||
FILE_PERSISTENT_ACLS | FILE_UNICODE_ON_DISK |
|
||||
FILE_CASE_PRESERVED_NAMES | FILE_CASE_SENSITIVE_SEARCH;
|
||||
info->MaximumComponentNameLength = MAXIMUM_FILENAME_LENGTH - 1;
|
||||
info->FileSystemNameLength = sizeof(ntfsW);
|
||||
memcpy(info->FileSystemName, ntfsW, sizeof(ntfsW));
|
||||
|
|
|
@ -3955,12 +3955,12 @@ static void test_query_attribute_information_file(void)
|
|||
|
||||
ok(status == STATUS_SUCCESS, "expected STATUS_SUCCESS, got %d\n", status);
|
||||
ok(U(io).Status == STATUS_SUCCESS, "expected STATUS_SUCCESS, got %d\n", U(io).Status);
|
||||
ok(ffai->FileSystemAttribute != 0, "Missing FileSystemAttribute\n");
|
||||
ok(ffai->FileSystemAttributes != 0, "Missing FileSystemAttributes\n");
|
||||
ok(ffai->MaximumComponentNameLength != 0, "Missing MaximumComponentNameLength\n");
|
||||
ok(ffai->FileSystemNameLength != 0, "Missing FileSystemNameLength\n");
|
||||
|
||||
trace("FileSystemAttribute: %x MaximumComponentNameLength: %x FileSystemName: %s\n",
|
||||
ffai->FileSystemAttribute, ffai->MaximumComponentNameLength,
|
||||
trace("FileSystemAttributes: %x MaximumComponentNameLength: %x FileSystemName: %s\n",
|
||||
ffai->FileSystemAttributes, ffai->MaximumComponentNameLength,
|
||||
wine_dbgstr_wn(ffai->FileSystemName, ffai->FileSystemNameLength / sizeof(WCHAR)));
|
||||
|
||||
CloseHandle( dir );
|
||||
|
|
|
@ -434,7 +434,7 @@ typedef struct _FILE_FS_DEVICE_INFORMATION {
|
|||
|
||||
/* FileFsAttributeInformation = 5 */
|
||||
typedef struct _FILE_FS_ATTRIBUTE_INFORMATION {
|
||||
ULONG FileSystemAttribute;
|
||||
ULONG FileSystemAttributes;
|
||||
LONG MaximumComponentNameLength;
|
||||
ULONG FileSystemNameLength;
|
||||
WCHAR FileSystemName[1];
|
||||
|
|
Loading…
Reference in New Issue