StrDupA(3w)

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 "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/shlwapi/string.c".

Debug channel "shell".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout