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 to obtain a pointer to the function.

Implemented in "dlls/shlwapi/string.c". source.winehq.org/source/dlls/shlwapi/string.c

Debug channel "shell".


Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.