获取组合框的编辑控件中显示的提示横幅文本。 Send this message explicitly or by using the ComboBox_GetCueBannerText macro.
Parameters
-
wParam [in]
-
指向接收提示横幅文本的 Unicode 字符串缓冲区的指针。 调用应用程序负责分配缓冲区的内存。 The buffer size must be equal to the length of the cue banner string in WCHARs, plus 1 for the terminating NULLWCHAR.
-
lParam [in]
-
The size of the buffer pointed to by wParam in WCHARs.
Return value
如果成功,则返回 1;否则返回错误值。
如果没有要获取的提示横幅文本,则返回值为 0。 If the calling application fails to allocate a buffer, or set lParam before sending this message, undefined behavior may result and the return value may not be reliable.
Requirements
| Requirement | Value |
|---|---|
| 支持的最低客户端 |
Windows Vista [仅限桌面应用] |
| 支持的最低服务器 |
Windows Server 2008 [仅限桌面应用] |
| Header |
|