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

# StrFormatByteSizeA(3w)

## NAME

**StrFormatByteSizeA** (SHLWAPI.@)

## SYNOPSIS

LPSTR StrFormatByteSizeA\
  (\
   DWORD *dwBytes*,\
   LPSTR *lpszDest*,\
   UINT  *cchMax*\
  )

## DESCRIPTION

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

## PARAMS

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

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

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

## RETURNS

*lpszDest*.

## NOTES

The Ascii and Unicode versions of this function accept a different integer type for *dwBytes*. See **[StrFormatByteSize64A(3w)](/StrFormatByteSize64A/3w.md)**.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
