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

# FindMRUStringA(3w)

## NAME

**FindMRUStringA** (COMCTL32.155)

## SYNOPSIS

INT FindMRUStringA\
  (\
   HANDLE *hList*,\
   LPCSTR *lpszString*,\
   LPINT  *lpRegNum*\
  )

## DESCRIPTION

Searches string list for item that matches *lpszString*. Returns position in list order **0** -\> **MRU** and if *lpRegNum* != **NULL** then value corresponding to item's reg. name will be stored in it (**'a'** -\> **0**).

## PARAMS

*hList* **\[In\]**  list handle.

*lpszString* **\[In\]**  string to find.

*lpRegNum* **\[Out\]**  position in registry (maybe **NULL**).

## RETURNS

Position in list **0** -\> **MRU**. **-1** if item not found.

## 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"**.
