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

# SetupGetFileCompressionInfoExW(3w)

## NAME

**SetupGetFileCompressionInfoExW** (SETUPAPI.@)

## SYNOPSIS

BOOL SetupGetFileCompressionInfoExW\
  (\
   PCWSTR *source*,\
   PWSTR  *name*,\
   DWORD  *len*,\
   PDWORD *required*,\
   PDWORD *source\_size*,\
   PDWORD *target\_size*,\
   PUINT  *type*\
  )

## DESCRIPTION

Get compression *type* and compressed/uncompressed sizes of a given file.

## PARAMS

*source* **\[In\]**  File to examine.

*name* **\[Out\]**  Actual filename used.

*len* **\[In\]**  Length in characters of 'name' buffer.

*required* **\[Out\]**  Number of characters written to 'name'.

*source\_size* **\[Out\]**  Size of compressed file.

*target\_size* **\[Out\]**  Size of uncompressed file.

*type* **\[Out\]**  Compression *type*.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"setupapi.h"**.

Implemented in **"dlls/setupapi/misc.c"**.

Debug channel **"setupapi"**.
