.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH GetFileSize 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBGetFileSize\fR (KERNEL32.@) .SH SYNOPSIS DWORD GetFileSize ( HANDLE \fIhFile\fR, LPDWORD \fIfilesizehigh\fR ) .SH DESCRIPTION .PP Retrieve the size of a file. .SH PARAMS \fIhFile\fR \fB[In]\fR File to retrieve size of. .PP \fIfilesizehigh\fR \fB[Out]\fR On return, the high bits of the file size. .PP .SH RETURNS .PP \fBSuccess:\fR The low bits of the file size. .PP \fBFailure:\fR \fBINVALID_FILE_SIZE\fR. As this is could also be a success value, check \fBGetLastError(3w)\fR for values other than \fBERROR_SUCCESS\fR. .SH IMPLEMENTATION .PP Declared in \fB"winbase.h"\fR. .PP Implemented in \fB"dlls/kernel32/file.c"\fR. .PP Debug channel \fB"file"\fR.