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

# StrCpyNXA(3w)

## NAME

**StrCpyNXA** (SHLWAPI.399)

## SYNOPSIS

LPSTR StrCpyNXA\
  (\
   LPSTR  *lpszDest*,\
   LPCSTR *lpszSrc*,\
   int    *iLen*\
  )

## DESCRIPTION

Copy a string to another string, up to a maximum number of characters.

## PARAMS

*lpszDest* **\[Out\]**  Destination string.

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

*iLen* **\[In\]**  Maximum number of characters to copy.

## RETURNS

**Success:** A pointer to the last character written to *lpszDest*.

**Failure:** *lpszDest*, if any arguments are invalid.

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

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

Debug channel **"shell"**.
