SHTruncateString(3w)

SHTruncateString3w

Usage

DWORD SHTruncateString
(
LPSTR lpStr,
DWORD size
)

Overview

Remove a hanging lead byte from the end of a string, if present.

Params

lpStr [In] String to check for a hanging lead byte.

size [In] Length of lpStr.

Returns

Success: The new length of the string. Any hanging lead bytes are removed.

Failure: 0, if any parameters are invalid.

Implementation

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

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

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.