GetFileSize(3w)

GetFileSize3w

Usage

DWORD GetFileSize
(
HANDLE hFile,
LPDWORD filesizehigh
)

Overview

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".

Releases

6 releases since Debian 2.0 (Hamm); the text changed 5 times.

  1. 2.0
  2. 2.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.