Partager via


SysFreeString

This function frees a string allocated previously by SysAllocString, SysAllocStringByteLen, SysReAllocString, SysAllocStringLen, or SysReAllocStringLen.

HRESULT SysFreeString(
  BSTR bstr 
); 

Parameters

  • bstr
    [in] Unicode string that was allocated previously, or NULL. Setting this parameter to NULL causes the function to simply return.

Return Values

Returns an HRESULT value.

Requirements

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

See Also

SysAllocString | SysAllocStringByteLen | SysReAllocString | SysAllocStringLen | SysReAllocStringLen

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.