SysReleaseString function

Note  You should only call SysReleaseString if you are implementing a scripting engine that needs to guard against running potentially malicious scripts.
 

Decreases the pinning reference count for the specified string by one. When that count reaches 0, the memory for that string is no longer prevented from being freed.

Syntax


void STDAPICALLTYPE SysReleaseString(
  _In_ BSTR bstrString
);

Parameters

bstrString [in]

The string for which the pinning reference count should decrease.

Return value

This function does not return a value.

Remarks

A call to the SysReleaseString function should match every previous call to the SysAddRefString function.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Oleauto.h

Library

Mincore.lib

DLL

Oleaut32.dll

See also

SysAddRefString
BSTR

 

 

Show: