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

# StrFormatByteSizeW(3w)

## NAME

**StrFormatByteSizeW** (SHLWAPI.@)

## SYNOPSIS

LPWSTR StrFormatByteSizeW\
  (\
   LONGLONG *llBytes*,\
   LPWSTR   *lpszDest*,\
   UINT     *cchMax*\
  )

## DESCRIPTION

Create a string containing an abbreviated byte count of up to 2^63-**1.**

## PARAMS

*llBytes* **\[In\]**  Byte size to format.

*lpszDest* **\[In\]**  Destination for formatted string.

*cchMax* **\[In\]**  Size of *lpszDest*.

## RETURNS

*lpszDest*.

## NOTES

There is no StrFormatByteSize64W function, it is called **[StrFormatByteSizeW(3w)](/StrFormatByteSizeW/3w.md)**.

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

Implemented in **"dlls/shlwapi/string.c"**.

Debug channel **"shell"**.
