aardio 文档

win.ole 库模块帮助文档

win.ole 成员列表

Ole32.dll,OleAut32.dll接口函数

win.ole.fromSysString()

参数传入bstr指针,返回普通UTF8字符串,
如果传入参数类型不是指针,返回null,
此函数会调用::SysFreeString释放传入的bstr指针

全局常量

::CoTaskMemFree :

Ole32.api("CoTaskMemFree","void(POINTER hMem)" )

::CreateStreamOnHGlobal

Ole32.api("CreateStreamOnHGlobal","int(pointer hGlobal,bool deleteOnRelease,pointer &ppstm)")

::GetHGlobalFromStream

Ole32.api("GetHGlobalFromStream","int(pointer ppstm,pointer &hGlobal)")

::SysAllocString

OleAut32.api("SysAllocString","pointer(ustring psz)")

::SysFreeString

OleAut32.api("SysFreeString","pointer(pointer bstr)")

Markdown 格式