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

# SHAnsiToAnsi(3w)

## NAME

**SHAnsiToAnsi** (SHLWAPI.345)

## SYNOPSIS

DWORD SHAnsiToAnsi\
  (\
   LPCSTR *lpszSrc*,\
   LPSTR  *lpszDst*,\
   int    *iLen*\
  )

## DESCRIPTION

Copy one string to another.

## PARAMS

*lpszSrc* **\[In\]**  Source string to copy.

*lpszDst* **\[Out\]**  Destination for copy.

*iLen* **\[In\]**  Length of *lpszDst* in characters.

## RETURNS

The length of the copied string, including the terminating **NUL**. *lpszDst* contains *iLen* characters of *lpszSrc*.

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

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

Debug channel **"shell"**.
