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

# RemoveWindowSubclass(3w)

## NAME

**RemoveWindowSubclass** (COMCTL32.412)

## SYNOPSIS

BOOL RemoveWindowSubclass\
  (\
   HWND         *hWnd*,\
   SUBCLASSPROC *pfnSubclass*,\
   UINT\_PTR     *uID*\
  )

## DESCRIPTION

Removes a window subclass.

## PARAMS

*hWnd* **\[In\]**  Handle to the window were subclassing.

*pfnSubclass* **\[In\]**  Pointer to the subclass procedure.

*uID* **\[In\]**  Unique identifier of this subclass.

## RETURNS

**Success:** non-zero

**Failure:** zero

## IMPLEMENTATION

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

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

Debug channel **"commctrl"**.
