Group: Shell Lightweight Utility APIs -- string functions - Library: shlwapi
StrDup returns a pointer to the duplicate of a source VFP string
LPTSTR StrCpy(
LPTSTR psz1,
LPCTSTR psz2
);
DECLARE INTEGER StrCpyW IN shlwapi AS StrCpy;
STRING @ psz1,;
INTEGER psz2
psz1 [out] Pointer to the destination string.
psz2 [in] Pointer to the null-terminated source string.
Returns a pointer to psz1.
MSDN suggests some security problems related to this function and recommends using StrCpyN instead.