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

# SysStringByteLen(3w)

## NAME

**SysStringByteLen** (OLEAUT32.149)

## SYNOPSIS

UINT SysStringByteLen\
  (\
   BSTR *str*\
  )

## DESCRIPTION

Get the allocated length of a **BSTR** in bytes.

## PARAMS

*str* **\[In\]**  **BSTR** to find the length of.

## RETURNS

The allocated length of *str*, or **0** if *str* is **NULL**.

## NOTES

See **[SysStringLen(3w)](/SysStringLen/3w.md)**, **[BSTR(3w)](/BSTR/3w.md)**.

## IMPLEMENTATION

Declared in **"oleauto.h"**.

Implemented in **"dlls/oleaut32/oleaut.c"**.

Debug channel **"ole"**.
