次の方法で共有


SysReAllocString (Windows CE 5.0)

Send Feedback

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

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

Parameters

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

Return Values

Returns an HRESULT value.

Remarks

Windows CE supports only Unicode strings.

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

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oleauto.h.
Link Library: Oleaut32.lib.

See Also

Automation Functions | BSTR

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.