Fix return types of NdrConformantStringMarshall, NdrGetBuffer, and

NdrSendReceive.
This commit is contained in:
Greg Turner 2002-10-21 23:42:01 +00:00 committed by Alexandre Julliard
parent b71535ebfd
commit c14e9ebc07
2 changed files with 14 additions and 11 deletions

View File

@ -174,37 +174,40 @@ void WINAPI NdrStubGetBuffer(LPRPCSTUBBUFFER This,
void WINAPI NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, void WINAPI NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg,
PMIDL_STUB_DESC pStubDesc, int unknown ) PMIDL_STUB_DESC pStubDesc, int unknown )
{ {
TRACE("stub\n"); FIXME("stub\n");
} }
/*********************************************************************** /***********************************************************************
* NdrConformantStringMarshall [RPCRT4.@] * 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) PFORMAT_STRING pFormat)
{ {
TRACE("stub\n"); FIXME("stub\n");
return NULL;
} }
/*********************************************************************** /***********************************************************************
* NdrGetBuffer [RPCRT4.@] * 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.@] * NdrFreeBuffer [RPCRT4.@]
*/ */
void WINAPI NdrFreeBuffer(MIDL_STUB_MESSAGE *pStubMsg) void WINAPI NdrFreeBuffer(MIDL_STUB_MESSAGE *pStubMsg)
{ {
TRACE("stub\n"); FIXME("stub\n");
} }
/************************************************************************ /************************************************************************
* NdrSendReceive [RPCRT4.@] * 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;
} }

View File

@ -299,14 +299,14 @@ RPCRTAPI void RPC_ENTRY
RPCRTAPI void RPC_ENTRY RPCRTAPI void RPC_ENTRY
NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg,
PMIDL_STUB_DESC pStubDesc, int unknown ); PMIDL_STUB_DESC pStubDesc, int unknown );
RPCRTAPI void RPC_ENTRY RPCRTAPI unsigned char* RPC_ENTRY
NdrConformantStringMarshall( MIDL_STUB_MESSAGE *pStubMsg, unsigned char *pszMessage, NdrConformantStringMarshall( MIDL_STUB_MESSAGE *pStubMsg, unsigned char *pszMessage,
PFORMAT_STRING pFormat); PFORMAT_STRING pFormat);
RPCRTAPI void RPC_ENTRY RPCRTAPI unsigned char* RPC_ENTRY
NdrGetBuffer( MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle ); NdrGetBuffer( MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle );
RPCRTAPI void RPC_ENTRY RPCRTAPI void RPC_ENTRY
NdrFreeBuffer( MIDL_STUB_MESSAGE *pStubMsg ); NdrFreeBuffer( MIDL_STUB_MESSAGE *pStubMsg );
RPCRTAPI void RPC_ENTRY RPCRTAPI unsigned char* RPC_ENTRY
NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char *buffer ); NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char *buffer );
#endif /*__WINE_RPCNDR_H */ #endif /*__WINE_RPCNDR_H */