rpc_H_PL9
Greg Turner
gmturner007 at ameritech.net
Thu Oct 31 10:55:10 CST 2002
On Thursday 31 October 2002 09:05 am, Michael Stefaniuc wrote:
> -UINT WINAPI I_RpcWindowProc( HANDLE hWnd, UINT Message, UINT wParam,
> ULONG lParam)
>+UINT WINAPI I_RpcWindowProc( void *hWnd, UINT Message,
> UINT wParam, ULONG lParam )
>
> That's totaly broken. It's a problem in winapi_check and not in your
> code. Well, their is a problem in your code too, i would change
> HANDLE to HWND.
>
> bye
> michael
Before I change it back on your advice, are you /sure/ about this?
o rpcrt4 compiles STRICT, so how broken can the conflation of
HANDLE and void* be? (HWND is DECLARE_HANDLE()'ed so I could see
your point there.)
o from the Microsoft Platform SDK headers (October '02):
./rpcdcep.h-728-RPCRTAPI
./rpcdcep.h-729-unsigned int
./rpcdcep.h-730-RPC_ENTRY
./rpcdcep.h:731:I_RpcWindowProc(
./rpcdcep.h-732- IN void * hWnd,
./rpcdcep.h-733- IN unsigned int Message,
./rpcdcep.h-734- IN unsigned int wParam,
./rpcdcep.h-735- IN unsigned long lParam
./rpcdcep.h-736- ) ;
so, technically, isn't void* a /better/ choice?
Let me know what you think,
--
gmt
"The purpose of government is to rein in the rights of the people"
--President Bill Clinton, MTV interview, 1993
More information about the wine-devel
mailing list