.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CallWindowProcA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCallWindowProcA\fR (USER32.@) .SH SYNOPSIS LRESULT CallWindowProcA ( WNDPROC \fIfunc\fR, HWND \fIhwnd\fR, UINT \fImsg\fR, WPARAM \fIwParam\fR, LPARAM \fIlParam\fR ) .SH PARAMS \fIfunc\fR \fB[In]\fR window procedure. .PP \fIhwnd\fR \fB[In]\fR target window. .PP \fImsg\fR \fB[In]\fR message. .PP \fIwParam\fR \fB[In]\fR message dependent parameter. .PP \fB[In]\fR message dependent parameter. .PP .SH DESCRIPTION .PP The \fBCallWindowProc(3w)\fR function invokes the Windows(tm) procedure _func_, with _hwnd_ as the target window, the message specified by _msg_, and the message parameters _wParam_ and _lParam_. .PP Some kinds of argument conversion may be done, I'm not sure what. .PP CallWindowProc() may be used for Windows(tm) subclassing. Use SetWindowLong() to set a new Windows(tm) procedure for Windows(tm) of the subclass, and handle subclassed messages in the new windows procedure. The new Windows(tm) procedure may then use \fBCallWindowProc(3w)\fR with _func_ set to the parent class's Windows(tm) procedure to dispatch the message to the superclass. .SH RETURNS .PP The return value is message dependent. .SH CONFORMANCE .PP ECMA-\fB234\fR, Win32 .SH IMPLEMENTATION .PP Declared in \fB"winuser.h"\fR. .PP Implemented in \fB"dlls/user32/winproc.c"\fR. .PP Debug channel \fB"win"\fR.