Scroll to navigation

GetFileSize(3w) Wine API GetFileSize(3w)

NAME

GetFileSize (KERNEL32.@)

SYNOPSIS

DWORD GetFileSize
(
HANDLE hFile,
LPDWORD filesizehigh
)
 

DESCRIPTION

Retrieve the size of a file.
 

PARAMS

hFile [In] File to retrieve size of.
filesizehigh [Out] On return, the high bits of the file size.
 

RETURNS

Success: The low bits of the file size.
Failure: INVALID_FILE_SIZE. As this is could also be a success value, check GetLastError(3w) for values other than ERROR_SUCCESS.
 

IMPLEMENTATION

Declared in "winbase.h".
Implemented in "dlls/kernel32/file.c".
Debug channel "file".
Oct 2012 Wine API