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

# DefSubclassProc(3w)

## NAME

**DefSubclassProc** (COMCTL32.413)

## SYNOPSIS

LRESULT DefSubclassProc\
  (\
   HWND   *hWnd*,\
   UINT   *uMsg*,\
   WPARAM *wParam*,\
   LPARAM *lParam*\
  )

## DESCRIPTION

Calls the next window procedure (i.e. the one before this subclass).

## PARAMS

*hWnd* **\[In\]**  The window that we're subclassing.

*uMsg* **\[In\]**  Message.

*wParam* **\[In\]**  **WPARAM**.

*lParam* **\[In\]**  **LPARAM**.

## RETURNS

**Success:** non-zero

**Failure:** zero

## IMPLEMENTATION

Declared in **"commctrl.h"**.

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

Debug channel **"commctrl"**.
