Function Reference


_SysAllocString

Allocates a BSTR from a Unicode string.

_SysAllocString($sString)

Parameters

$sString Unicode string to allocate as a BSTR.

Return Value

Success: Pointer to the allocated BSTR.
Failure: 0, with @error set to 1 (DllCall error).

Remarks

The caller must free the BSTR using _SysFreeString.

Related

_SysFreeString, _SysReadString