---
name: "GetFileSizeEx"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetFileSizeEx"
---

# GetFileSizeEx(3w)

## NAME

**GetFileSizeEx** (KERNEL32.@)

## SYNOPSIS

BOOL GetFileSizeEx\
  (\
   HANDLE         *hFile*,\
   PLARGE\_INTEGER *lpFileSize*\
  )

## DESCRIPTION

Retrieve the size of a file.

## PARAMS

*hFile* **\[In\]**  File to retrieve size of.

lpFileSIze **\[Out\]**  On return, the size of the file.

## RETURNS

**Success:** **TRUE**.

**Failure:** **FALSE**, check **[GetLastError(3w)](/GetLastError/3w.md)**.

## IMPLEMENTATION

Declared in **"winbase.h"**.

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

Debug channel **"file"**.
