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

# ShellMessageBoxA(3w)

## NAME

**ShellMessageBoxA** (SHELL32.183)

## SYNOPSIS

int ShellMessageBoxA\
  (\
   HINSTANCE *hInstance*,\
   HWND      *hWnd*,\
   LPCSTR    *lpText*,\
   LPCSTR    *lpCaption*,\
   UINT      *uType*,

## DESCRIPTION

Format and output an error message.

## PARAMS

*hInstance* **\[In\]**  Instance handle of message creator.

*hWnd* **\[In\]**  Window handle of message creator.

*lpText* **\[In\]**  Resource Id of title or **LPSTR**.

*lpCaption* **\[In\]**  Resource Id of title or **LPSTR**.

*uType* **\[In\]**  Type of error message.

## RETURNS

A return value from **[MessageBoxA(3w)](/MessageBoxA/3w.md)**.

## NOTES

Exported by ordinal

## IMPLEMENTATION

Declared in **"shellapi.h"**.

Implemented in **"dlls/shell32/shellord.c"**.

Debug channel **"shell"**.
