HRESULT SysFreeString(
BSTR bstr
);
Frees a string allocated previously by SysAllocString, SysAllocStringByteLen, SysReAllocString, SysAllocStringLen, or SysReAllocStringLen.
None.
CStatBar::~CStatBar()
{
SysFreeString(m_bstrMsg);
}
Windows NT: Use version 3.1 and later.
Windows: Use Windows 95 and later.
Header: Declared in oleauto.h.
Import Library: Link with oleaut32.lib.