Ole32.dll,OleAut32.dll接口函数
参数传入bstr指针,返回普通UTF8字符串,
如果传入参数类型不是指针,返回null,
此函数会调用::SysFreeString释放传入的bstr指针
Ole32.api("CoTaskMemFree","void(POINTER hMem)" )
Ole32.api("CreateStreamOnHGlobal","int(pointer hGlobal,bool deleteOnRelease,pointer &ppstm)")
Ole32.api("GetHGlobalFromStream","int(pointer ppstm,pointer &hGlobal)")
OleAut32.api("SysAllocString","pointer(ustring psz)")
OleAut32.api("SysFreeString","pointer(pointer bstr)")