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

Defined in "winbase.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/kernel32/file.c".

Debug channel "file".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout