未分类--Windows API--AddMRUStringW

150 篇文章 0 订阅
31 篇文章 0 订阅

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com

 

AddMRUStringW Function

--------------------------------------------------------------------------------

Adds a string to the top of the most recently used (MRU) list.
增加一个字符串到最近使用(MRU)列表的顶部。
Syntax

int AddMRUStringW(         
HANDLE hMRU,
LPCTSTR szString
);
Parameters

hMRU
[in] The handle of the MRU list.
MRU列表的句柄。
szString
[in] A pointer to the data.
一个指针指向数据。
This can be either a string or, if the MRU list was created with the MRU_BINARY flag, binary data.
这个可以是一个字符串或如果这个MRU列表是使用MRU_BINARY flag创建的二进制数据。
In the case of binary data, the first DWORD indicates its size.
在二进制数据的场合,首先DWORD指示它的大小。
Return Value

Returns a non-negative value if successful, -1 otherwise.
如果成功返回一个非负值,否则返回-1。
Remarks

Note  This function is available through Microsoft Windows XP Service Pack 2 (SP2) and Windows Server 2003.
注意:这个函数在Microsoft Windows XP Service Pack 2 (SP2) 和 Windows Server 2003 中是可用的。
It might be altered or unavailable in subsequent versions of Windows.
它可能在Windows随后的版本中被修改或不可用。
This function is not included in a public header or library.
这个函数不包含在一个头文件或库文件中。
It can be accessed through GetProcAddress or extracted from comctl32.dll by its ordinal, which is 401 for AddMRUStringW.
它可以通过GetProcAddress访问或通过徐舒从comctl32.dll中提取,AddMRUStringW是401号。
Function Information

Minimum DLL Version comctl32.dll version 5.0 or later
Custom Implementation No
Import library None
Minimum operating systems Windows 2000
Unicode Implemented as Unicode version.


--------------------------------------------------------------------------------

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值