LICENSE: X11 CHANGELOG: * dlls/rpcrt4: rpc_epmap.c, rpc_server.c, rpcrt4.spec, rpcdce.h, rpcdcep.h: Greg Turner <gmturner007@ameritech.net> - fix some problems found by winapi_check -- gmt "The purpose of government is to rein in the rights of the people" --President Bill Clinton, MTV interview, 1993
diff -ur -x CVS -x 'bigdif*' ../wine.test/dlls/rpcrt4/rpc_epmap.c ./dlls/rpcrt4/rpc_epmap.c --- ../wine.test/dlls/rpcrt4/rpc_epmap.c 2002-10-29 16:43:15.000000000 -0600 +++ ./dlls/rpcrt4/rpc_epmap.c 2002-10-31 08:20:28.000000000 -0600 @@ -53,8 +53,8 @@ /*********************************************************************** * RpcEpRegisterA (RPCRT4.@) */ -RPC_STATUS WINAPI RpcEpRegisterA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, - UUID_VECTOR* UuidVector, LPSTR Annotation ) +RPC_STATUS WINAPI RpcEpRegisterA( RPC_IF_HANDLE IfSpec, PRPC_BINDING_VECTOR BindingVector, + PUUID_VECTOR UuidVector, LPSTR Annotation ) { NTSTATUS ret; PRPC_SERVER_INTERFACE If = (PRPC_SERVER_INTERFACE)IfSpec; @@ -99,8 +99,8 @@ /*********************************************************************** * RpcEpUnregister (RPCRT4.@) */ -RPC_STATUS WINAPI RpcEpUnregister( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, - UUID_VECTOR* UuidVector ) +RPC_STATUS WINAPI RpcEpUnregister( RPC_IF_HANDLE IfSpec, PRPC_BINDING_VECTOR BindingVector, + PUUID_VECTOR UuidVector ) { NTSTATUS ret; PRPC_SERVER_INTERFACE If = (PRPC_SERVER_INTERFACE)IfSpec; diff -ur -x CVS -x 'bigdif*' ../wine.test/dlls/rpcrt4/rpc_server.c ./dlls/rpcrt4/rpc_server.c --- ../wine.test/dlls/rpcrt4/rpc_server.c 2002-10-30 19:28:50.000000000 -0600 +++ ./dlls/rpcrt4/rpc_server.c 2002-10-31 08:15:11.000000000 -0600 @@ -690,7 +690,7 @@ /*********************************************************************** * I_RpcWindowProc (RPCRT4.@) */ -LONG WINAPI I_RpcWindowProc( HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam ) +UINT WINAPI I_RpcWindowProc( HANDLE hWnd, UINT Message, UINT wParam, ULONG lParam ) { FIXME( "(%p,%08x,%08x,%08lx): stub\n", hWnd, Message, wParam, lParam ); diff -ur -x CVS -x 'bigdif*' ../wine.test/dlls/rpcrt4/rpcrt4.spec ./dlls/rpcrt4/rpcrt4.spec --- ../wine.test/dlls/rpcrt4/rpcrt4.spec 2002-10-29 14:12:21.000000000 -0600 +++ ./dlls/rpcrt4/rpcrt4.spec 2002-10-31 08:11:06.000000000 -0600 @@ -481,8 +481,8 @@ @ stub I_RpcBindingInqWireIdForSnego @ stub I_RpcBindingIsClientLocal @ stub I_RpcBindingToStaticStringBindingW -@ stdcall I_RpcBindingSetAsync(ptr ptr long) I_RpcBindingSetAsync # win9x -# NT version of I_RpcBindingSetAsync has 2 arguments, not 3 +@ stdcall I_RpcBindingSetAsync(ptr ptr) I_RpcBindingSetAsync # winnt +# 9x version of I_RpcBindingSetAsync has 3 arguments, not 2 @ stub I_RpcClearMutex @ stub I_RpcConnectionInqSockBuffSize @ stub I_RpcConnectionInqSockBuffSize2 diff -ur -x CVS -x 'bigdif*' ../wine.test/include/rpcdce.h ./include/rpcdce.h --- ../wine.test/include/rpcdce.h 2002-10-29 14:12:21.000000000 -0600 +++ ./include/rpcdce.h 2002-10-31 08:19:33.000000000 -0600 @@ -37,14 +37,14 @@ { unsigned long Count; RPC_BINDING_HANDLE BindingH[1]; -} RPC_BINDING_VECTOR; +} RPC_BINDING_VECTOR, *PRPC_BINDING_VECTOR; #define rpc_binding_vector_t RPC_BINDING_VECTOR typedef struct _UUID_VECTOR { unsigned long Count; UUID *Uuid[1]; -} UUID_VECTOR; +} UUID_VECTOR, *PUUID_VECTOR; #define uuid_vector_t UUID_VECTOR typedef struct _RPC_IF_ID @@ -144,11 +144,11 @@ RpcEpResolveBinding( RPC_BINDING_HANDLE Binding, RPC_IF_HANDLE IfSpec ); RPCRTAPI RPC_STATUS RPC_ENTRY - RpcEpRegisterA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, - UUID_VECTOR* UuidVector, LPSTR Annotation ); + RpcEpRegisterA( RPC_IF_HANDLE IfSpec, PRPC_BINDING_VECTOR BindingVector, + PUUID_VECTOR UuidVector, LPSTR Annotation ); RPCRTAPI RPC_STATUS RPC_ENTRY - RpcEpRegisterW( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector, - UUID_VECTOR* UuidVector, LPWSTR Annotation ); + RpcEpRegisterW( RPC_IF_HANDLE IfSpec, PRPC_BINDING_VECTOR BindingVector, + PUUID_VECTOR UuidVector, LPWSTR Annotation ); #define RpcEpRegister WINELIB_NAME_AW(RpcEpRegister) RPCRTAPI RPC_STATUS RPC_ENTRY diff -ur -x CVS -x 'bigdif*' ../wine.test/include/rpcdcep.h ./include/rpcdcep.h --- ../wine.test/include/rpcdcep.h 2002-10-30 19:28:50.000000000 -0600 +++ ./include/rpcdcep.h 2002-10-31 08:15:01.000000000 -0600 @@ -133,8 +133,8 @@ RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcSetThreadParams( int fClientFree, void* Context, void* hWndClient ); -RPCRTAPI LONG RPC_ENTRY - I_RpcWindowProc( HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam ); +RPCRTAPI UINT RPC_ENTRY + I_RpcWindowProc( HANDLE hWnd, UINT Message, UINT wParam, ULONG lParam ); /* WINNT */ RPCRTAPI RPC_STATUS RPC_ENTRY