LICENSE: X11 CHANGELOG: * dlls/rpcrt4/ndr_midl.c, include/rpcndr.h: Greg Turner <gmturner007@ameritech.net> - fix return types of NdrConformantStringMarshall, NdrGetBuffer, and NdrSendReceive -- gmt
--- dlls/rpcrt4/ndr_midl.c.E_PL4 2002-10-18 20:42:39.000000000 -0500 +++ dlls/rpcrt4/ndr_midl.c 2002-10-18 20:46:23.000000000 -0500 @@ -180,7 +180,7 @@ /*********************************************************************** * NdrConformantStringMarshall [RPCRT4.@] */ -void WINAPI NdrConformantStringMarshall(MIDL_STUB_MESSAGE *pStubMsg, unsigned char *pszMessage, +unsigned char *WINAPI NdrConformantStringMarshall(MIDL_STUB_MESSAGE *pStubMsg, unsigned char *pszMessage, PFORMAT_STRING pFormat) { TRACE("stub\n"); @@ -189,7 +189,7 @@ /*********************************************************************** * NdrGetBuffer [RPCRT4.@] */ -void WINAPI NdrGetBuffer(MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle) +unsigned char *WINAPI NdrGetBuffer(MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle) { TRACE("stub\n"); } @@ -204,7 +204,7 @@ /************************************************************************ * NdrSendReceive [RPCRT4.@] */ -void WINAPI NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char *buffer ) +unsigned char *WINAPI NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char *buffer ) { TRACE("stub\n"); } --- include/rpcndr.h.E_PL4 2002-10-18 20:42:53.000000000 -0500 +++ include/rpcndr.h 2002-10-18 20:47:31.000000000 -0500 @@ -299,14 +299,14 @@ RPCRTAPI void RPC_ENTRY NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc, int unknown ); -RPCRTAPI void RPC_ENTRY +RPCRTAPI unsigned char* RPC_ENTRY NdrConformantStringMarshall( MIDL_STUB_MESSAGE *pStubMsg, unsigned char *pszMessage, PFORMAT_STRING pFormat); -RPCRTAPI void RPC_ENTRY +RPCRTAPI unsigned char* RPC_ENTRY NdrGetBuffer( MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle ); RPCRTAPI void RPC_ENTRY NdrFreeBuffer( MIDL_STUB_MESSAGE *pStubMsg ); -RPCRTAPI void RPC_ENTRY +RPCRTAPI unsigned char* RPC_ENTRY NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char *buffer ); #endif /*__WINE_RPCNDR_H */