[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: CallWindowProc syntax
From:       Alexandre Julliard <julliard () winehq ! com>
Date:       2001-07-25 18:16:44
[Download RAW message or body]

Marco Bizzarri <m.bizzarri@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@winehq.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic