CreateMRUListW function

Creates a new most recently used (MRU) list.

Syntax

int CreateMRUListW(
  _In_ LPMRUINFO lpmi
);

Parameters

lpmi [in]

Type: LPMRUINFO

A pointer to an MRUINFO structure defining the MRU list.

Return value

Type: int

Returns a handle to the new MRU list, or 0 in case of an error.

Remarks

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 400 for CreateMRUListW.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
DLL
Comctl32.dll (version 5.0 or later)
Unicode and ANSI names
CreateMRUListW (Unicode)