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

# SetupGetFileCompressionInfoW(3w)

## NAME

**SetupGetFileCompressionInfoW** (SETUPAPI.@)

## SYNOPSIS

DWORD SetupGetFileCompressionInfoW\
  (\
   PCWSTR *source*,\
   PWSTR\* *name*,\
   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.

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

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

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

## RETURNS

**Success:** **ERROR\_SUCCESS**

**Failure:** Win32 error code.

## IMPLEMENTATION

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

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

Debug channel **"setupapi"**.
