您的位置:首页 > 其它

WineAPI SysAllocString

2011-09-30 12:38 211 查看

NAME

SysAllocString  (OLEAUT32.2)

SYNOPSIS

 BSTR SysAllocString

(

  LPCOLESTR str

)


DESCRIPTION

Create a BSTR from an OLESTR.

PARAMS

str

[In]

Source to create BSTR from.

RETURNS

Success: A BSTR allocatedwith
SysAllocStringLen.

Failure: NULL, if oleStris NULL.

NOTES

See BSTR. MSDN(October
2001) incorrectly statesthat NULL is returnedif oleStr has a length of
0. Native Win32 and this implementation both return a validempty BSTR in thiscase.

IMPLEMENTATION

Defined in "oleauto.h".

Implemented in "dlls/oleaut32/oleaut.c".
source.winehq.org/source/dlls/oleaut32/oleaut.c

Debug channel "ole".
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  null