GetFileSize.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "winbase.h".

Implemented in "dlls/kernel32/file.c".

Debug channel "file".