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:
parent
864f631d28
commit
bce123dc46
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue