Commit bce123dc authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Use the typedef'd declaration of IRpcStubBuffer and IRpcChannelBuffer

in RPC _Stubs. Add IRpcStubBuffer and IRpcChannelBuffer declarations to objbase.h.
parent 864f631d
......@@ -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
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment