.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH StrDupA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBStrDupA\fR (SHLWAPI.@) .SH SYNOPSIS LPSTR StrDupA ( LPCSTR \fIlpszStr\fR ) .SH DESCRIPTION .PP Duplicate a string. .SH PARAMS \fIlpszStr\fR \fB[In]\fR String to duplicate. .PP .SH RETURNS .PP \fBSuccess:\fR A pointer to a new string containing the contents of \fIlpszStr\fR .PP \fBFailure:\fR \fBNULL\fR, if memory cannot be allocated. .SH NOTES .PP The string memory is allocated with \fBLocalAlloc(3w)\fR, and so should be released by calling \fBLocalFree(3w)\fR. .SH IMPLEMENTATION .PP Declared in \fB"shlwapi.h"\fR. .PP Implemented in \fB"dlls/shlwapi/string.c"\fR. .PP Debug channel \fB"shell"\fR.