Reference

Str_SetPtrA(3w)

NAME

Str_SetPtrA (COMCTL32.234)

SYNOPSIS

BOOL Str_SetPtrA
(
LPSTR* lppDest,
LPCSTR lpSrc
)

DESCRIPTION

Makes a copy of a string, allocating memory if necessary.

PARAMS

lppDest [Out] Pointer to destination string.

lpSrc [In] Source string.

RETURNS

Success: TRUE

Failure: FALSE.

NOTES

Set lpSrc to NULL to free the memory allocated by a previous call to this function.

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

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

Debug channel "commctrl".

History