Edit

Share via


SysFreeString function (oleauto.h)

Deallocates a string allocated previously by SysAllocString, SysAllocStringByteLen, SysReAllocString, SysAllocStringLen, or SysReAllocStringLen.

Syntax

void SysFreeString(
  [in, optional] _Frees_ptr_opt_ BSTR bstrString
);

Parameters

[in, optional] bstrString

The previously allocated string. If this parameter is NULL, the function simply returns.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header oleauto.h
Library OleAut32.lib
DLL OleAut32.dll