CallWindowProc syntax
Alexandre Julliard
julliard at winehq.com
Wed Jul 25 13:16:44 CDT 2001
Marco Bizzarri <m.bizzarri at icube.it> writes:
> While looking at the source code of wine, I looked into the synopsys of
> the CallWindowProc function. According to winproc.c, the hWnd parameter
> should be the handle to the window which has to receive the message.
>
> OTOH, if you look at MSDN, at
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/hh/winui/winprocs_53xf.asp
>
> it looks like the hWnd is the windows procedure which should receive the
> message.
hWnd is clearly a window handle, not a window procedure. As a rule,
any resemblance between what MSDN says and what the code actually does
is purely fortuitous.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list