This topic has not yet been rated - Rate this topic

FreeMRUList function

Applies to: desktop apps only

Frees the handle associated with the most recently used (MRU) list and writes cached data to the registry.

Syntax

int FreeMRUList(
  __in  HANDLE hMRU
);

Parameters

hMRU [in]

Type: HANDLE

The handle of the MRU list to free.

Return value

Type: int

Returns a non-negative value if successful, -1 otherwise.

Remarks

If the MRU list was created using the MRU_CACHEWRITE flag, calling FreeMRUList causes any changes not yet written to the version of the MRU list stored in registry to be written at this time.

This function is not included in a public header or library. It must be extracted from comctl32.dll by ordinal 152.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

DLL

Comctl32.dll (version 5.0 or later)

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ