StrDupA.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

StrDupA (SHLWAPI.@)

SYNOPSIS

LPSTR StrDupA
 (
  LPCSTR lpszStr
 )

DESCRIPTION

Duplicate a string.

PARAMS

lpszStr [In] String to duplicate.

RETURNS

Success: A pointer to a new string containing the contents of lpszStr

Failure: NULL, if memory cannot be allocated.

NOTES

The string memory is allocated with LocalAlloc(3w), and so should be released by calling LocalFree(3w).

IMPLEMENTATION

Defined in "shlwapi.h".

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

Debug channel "shell".