---
name: "AddMRUData"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/AddMRUData"
---

# AddMRUData(3w)

## NAME

**AddMRUData** (COMCTL32.167)

## SYNOPSIS

INT AddMRUData\
  (\
   HANDLE  *hList*,\
   LPCVOID *lpData*,\
   DWORD   *cbData*\
  )

## DESCRIPTION

Add item to **MRU** binary list. If item already exists in list then it is simply moved up to the top of the list and not added again. If list is full then the least recently used item is removed to make room.

## PARAMS

*hList* **\[In\]**  Handle to list.

*lpData* **\[In\]**  pointer to data to add.

*cbData* **\[In\]**  number of bytes of data.

## RETURNS

No. corresponding to registry name where value is stored **'a'** -\> **0** etc.

**-1** on error.

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/comctl32/comctl32undoc.c"**.

Debug channel **"commctrl"**.
