SysReAllocString (Windows Embedded CE 6.0)

1/6/2010

This function reallocates a string and retrieves a pointer to the new string.

Syntax

HRESULT SysReAllocString(
  BSTR FAR* pbstr, 
  OLECHAR FAR* sz 
); 

Parameters

  • pbstr
    [in, out] Pointer to a string.
  • sz
    [in] Null-terminated string to copy.

Return Value

Returns an HRESULT value.

Remarks

Only Unicode strings are supported.

Passing invalid (and under some circumstances NULL) pointers to this function causes an unexpected termination of the application.

Requirements

Header oleauto.h
Library oleaut32.lib
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Automation Functions
BSTR