[This function is available through Windows XP with Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows. ]
Adds a string to the top of the most recently used (MRU) list.
int AddMRUStringW( _In_ HANDLE hMRU, _In_ LPCTSTR szString );
The handle of the MRU list.
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. In the case of binary data, the first DWORD indicates its size.
Returns a non-negative value if successful, -1 otherwise.
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.
|Minimum supported client
||Windows 2000 Professional [desktop apps only]
|Minimum supported server
||Windows 2000 Server [desktop apps only]
|Unicode and ANSI names