Str_SetPtrW function (dpa_dsa.h)
Sets ppszCurrent to a copy of pszNew and frees the previous value, if necessary.
Syntax
BOOL Str_SetPtrW(
[in, out] LPWSTR *ppsz,
LPCWSTR psz
);
Parameters
[in, out] ppsz
Type: LPTSTR*
The address of a pointer to the current string. The current string is freed and the pointer is set to a copy of pszNew.
psz
Type: LPCTSTR
A pointer to the string to copy into ppszCurrent.
Return value
Type: BOOL
Returns TRUE if successful; otherwise, FALSE.
Remarks
The ANSI version of Str_SetPtrW, Str_SetPtrA, is not exported by name or declared in a public header file. To use it, you must use GetProcAddress and request ordinal 234 from ComCtl32.dll to obtain a function pointer.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | dpa_dsa.h |
Library | Comctl32.lib |
DLL | ComCtl32.dll |