This function allocates a new BSTR and copies the passed string into it, then frees the BSTR referenced by pbstr, and finally resets pbstr to point to the new BSTR.
HRESULT SysReAllocString( BSTR FAR* pbstr, OLECHAR FAR* sz );
[in, out] Pointer to a variable that contains a BSTR.
[in] Null-terminated string to copy.
Returns an HRESULT value.
Windows CE supports only Unicode strings.
Passing invalid (and under some circumstances NULL) pointers to this function causes an unexpected termination of the application.
OS Versions: Windows CE 2.0 and later.
Link Library: Oleaut32.lib.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.