Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
diff --git a/dlls/kernel/file.c b/dlls/kernel/file.c
index 9cd924b..d3d6650 100644
--- a/dlls/kernel/file.c
+++ b/dlls/kernel/file.c
@@ -338,8 +338,8 @@
return FALSE;
}
- lpFileSize->s.LowPart = info.nFileSizeLow;
- lpFileSize->s.HighPart = info.nFileSizeHigh;
+ lpFileSize->u.LowPart = info.nFileSizeLow;
+ lpFileSize->u.HighPart = info.nFileSizeHigh;
return TRUE;
}
@@ -357,10 +357,10 @@
TRACE( "%p %lx%08lx %lx%08lx\n",
hFile, offset_high, offset_low, count_high, count_low );
- count.s.LowPart = count_low;
- count.s.HighPart = count_high;
- offset.s.LowPart = offset_low;
- offset.s.HighPart = offset_high;
+ count.u.LowPart = count_low;
+ count.u.HighPart = count_high;
+ offset.u.LowPart = offset_low;
+ offset.u.HighPart = offset_high;
status = NtLockFile( hFile, 0, NULL, NULL,
NULL, &offset, &count, NULL, TRUE, TRUE );
@@ -398,10 +398,10 @@
hFile, overlapped->OffsetHigh, overlapped->Offset,
count_high, count_low, flags );
- count.s.LowPart = count_low;
- count.s.HighPart = count_high;
- offset.s.LowPart = overlapped->Offset;
- offset.s.HighPart = overlapped->OffsetHigh;
+ count.u.LowPart = count_low;
+ count.u.HighPart = count_high;
+ offset.u.LowPart = overlapped->Offset;
+ offset.u.HighPart = overlapped->OffsetHigh;
status = NtLockFile( hFile, overlapped->hEvent, NULL, NULL,
NULL, &offset, &count, NULL,
@@ -422,10 +422,10 @@
NTSTATUS status;
LARGE_INTEGER count, offset;
- count.s.LowPart = count_low;
- count.s.HighPart = count_high;
- offset.s.LowPart = offset_low;
- offset.s.HighPart = offset_high;
+ count.u.LowPart = count_low;
+ count.u.HighPart = count_high;
+ offset.u.LowPart = offset_low;
+ offset.u.HighPart = offset_high;
status = NtUnlockFile( hFile, NULL, &offset, &count, NULL);
if (status) SetLastError( RtlNtStatusToDosError(status) );