diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c index e6e5210aaf3..a8b6d308ce1 100644 --- a/dlls/kernel32/file.c +++ b/dlls/kernel32/file.c @@ -899,11 +899,11 @@ DWORD WINAPI GetFileSize( HANDLE hFile, LPDWORD filesizehigh ) */ BOOL WINAPI GetFileSizeEx( HANDLE hFile, PLARGE_INTEGER lpFileSize ) { - FILE_END_OF_FILE_INFORMATION info; + FILE_STANDARD_INFORMATION info; IO_STATUS_BLOCK io; NTSTATUS status; - status = NtQueryInformationFile( hFile, &io, &info, sizeof(info), FileEndOfFileInformation ); + status = NtQueryInformationFile( hFile, &io, &info, sizeof(info), FileStandardInformation ); if (status == STATUS_SUCCESS) { *lpFileSize = info.EndOfFile;