Fix return types of NdrConformantStringMarshall, NdrGetBuffer, and NdrSendReceive.
diff --git a/dlls/rpcrt4/ndr_midl.c b/dlls/rpcrt4/ndr_midl.c index 2acf80c..05eb3b6 100644 --- a/dlls/rpcrt4/ndr_midl.c +++ b/dlls/rpcrt4/ndr_midl.c
@@ -174,37 +174,40 @@ void WINAPI NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc, int unknown ) { - TRACE("stub\n"); + FIXME("stub\n"); } /*********************************************************************** * 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"); + FIXME("stub\n"); + return NULL; } /*********************************************************************** * 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"); + FIXME("stub\n"); + return NULL; } /*********************************************************************** * NdrFreeBuffer [RPCRT4.@] */ void WINAPI NdrFreeBuffer(MIDL_STUB_MESSAGE *pStubMsg) { - TRACE("stub\n"); + FIXME("stub\n"); } /************************************************************************ * 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"); + FIXME("stub\n"); + return NULL; }
diff --git a/include/rpcndr.h b/include/rpcndr.h index 52d3ee2..9e1f9dc 100644 --- a/include/rpcndr.h +++ b/include/rpcndr.h
@@ -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 */