Use the typedef'd declaration of IRpcStubBuffer and IRpcChannelBuffer

in RPC _Stubs.
Add IRpcStubBuffer and IRpcChannelBuffer declarations to objbase.h.
This commit is contained in:
Vincent Béron 2005-12-02 13:32:09 +01:00 committed by Alexandre Julliard
parent 864f631d28
commit bce123dc46
2 changed files with 11 additions and 2 deletions

View File

@ -272,6 +272,15 @@
#endif /* __cplusplus && !CINTERFACE */
#ifndef __IRpcStubBuffer_FWD_DEFINED__
#define __IRpcStubBuffer_FWD_DEFINED__
typedef interface IRpcStubBuffer IRpcStubBuffer;
#endif
#ifndef __IRpcChannelBuffer_FWD_DEFINED__
#define __IRpcChannelBuffer_FWD_DEFINED__
typedef interface IRpcChannelBuffer IRpcChannelBuffer;
#endif
#include <objidl.h>
#ifndef RC_INVOKED

View File

@ -690,8 +690,8 @@ static void write_method_proto(type_t *iface)
fprintf(header, "void __RPC_STUB %s_", iface->name);
write_name(header,def);
fprintf(header, "_Stub(\n");
fprintf(header, " interface IRpcStubBuffer* This,\n");
fprintf(header, " interface IRpcChannelBuffer* pRpcChannelBuffer,\n");
fprintf(header, " IRpcStubBuffer* This,\n");
fprintf(header, " IRpcChannelBuffer* pRpcChannelBuffer,\n");
fprintf(header, " PRPC_MESSAGE pRpcMessage,\n");
fprintf(header, " DWORD* pdwStubPhase);\n");