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

# CreateMDIWindowA(3w)

## NAME

**CreateMDIWindowA** (USER32.@)

## SYNOPSIS

HWND CreateMDIWindowA\
  (\
   LPCSTR    *lpClassName*,\
   LPCSTR    *lpWindowName*,\
   DWORD     *dwStyle*,\
   INT       *X*,\
   INT       *Y*,\
   INT       *nWidth*,\
   INT       *nHeight*,\
   HWND      *hWndParent*,\
   HINSTANCE *hInstance*,\
   LPARAM    *lParam*\
  )

## PARAMS

*lpClassName* **\[In\]**  Pointer to registered child class name.

*lpWindowName* **\[In\]**  Pointer to window name.

*dwStyle* **\[In\]**  Window style.

*X* **\[In\]**  Horizontal position of window.

*Y* **\[In\]**  Vertical position of window.

*nWidth* **\[In\]**  Width of window.

*nHeight* **\[In\]**  Height of window.

*hWndParent* **\[In\]**  Handle to parent window.

*hInstance* **\[In\]**  Handle to application instance.

*lParam* **\[In\]**  Application-defined value.

## DESCRIPTION

CreateMDIWindowA (**USER32**.@) Creates a **MDI** child.

## RETURNS

**Success:** Handle to created window

**Failure:** **NULL**

## IMPLEMENTATION

Declared in **"winuser.h"**.

Implemented in **"dlls/user32/mdi.c"**.

Debug channel **"mdi"**.
