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

# GetWindowSubclass(3w)

## NAME

**GetWindowSubclass** (COMCTL32.411)

## SYNOPSIS

BOOL GetWindowSubclass\
  (\
   HWND         *hWnd*,\
   SUBCLASSPROC *pfnSubclass*,\
   UINT\_PTR     *uID*,\
   DWORD\_PTR\*   *pdwRef*\
  )

## DESCRIPTION

Gets the Reference data from a subclass.

## PARAMS

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

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

*uID* **\[In\]**  Unique identifier of the subclassing procedure.

*pdwRef* **\[Out\]**  Pointer to the reference data.

## RETURNS

**Success:** Non-zero

**Failure:** **0**

## IMPLEMENTATION

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

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

Debug channel **"commctrl"**.
