SHTruncateString.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SHTruncateString (SHLWAPI.162)

SYNOPSIS

DWORD SHTruncateString
 (
  LPSTR lpStr,
  DWORD size
 )

DESCRIPTION

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".