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

# CreateMDIWindowW(3w)

## NAME

**CreateMDIWindowW** (USER32.@)

## SYNOPSIS

HWND CreateMDIWindowW\
  (\
   LPCWSTR   *lpClassName*,\
   LPCWSTR   *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

CreateMDIWindowW (**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"**.
