WINPROC_SetProc(3w)

WINPROC_SetProc3w

Winproc_setproc

Usage

BOOL32 WINPROC_SetProc
(

HWINDOWPROC *pFirst,

WNDPROC16 func,

WINDOWPROCTYPE type,

WINDOWPROCUSER user
);

Overview

Set the window procedure for a window or class. There are three tree classes of winproc callbacks:

1) Class -> wp - not subclassed class -> wp -> wp -> wp -> wp - SetClassLong() / /
2) Window -' / - not subclassed window -> wp -> wp ' - SetWindowLong()

3) Timer -> wp - SetTimer()

Initially, winproc of the window points to the current winproc thunk of its class. Subclassing prepends a new thunk to the window winproc chain at the head of the list. Thus, window thunk list includes class thunks and the latter are preserved when the window is destroyed.

From wine-doc 0.0.980315-1 in Debian 2.0 (Hamm). Parsed by carta from the page's man source.