SysAllocString function oleaut32
Allocates a new string and copies the passed string into it.
To learn more, see learn.microsoft.com/windows/win32/api/oleauto/nf-oleauto-sysallocstring.
Implementation
@pragma('vm:prefer-inline')
BSTR SysAllocString(PCWSTR? psz) => BSTR(_SysAllocString(psz ?? nullptr));