Share via


SysReAllocString (Compact 2013)

3/26/2014

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

See Also

Reference

Automation Functions
BSTR