Alexandre Julliard : widl: Add a few more fields in the stub
descriptor.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jan 26 07:46:55 CST 2007
Module: wine
Branch: master
Commit: 1a25936ca976f381d4588c1750acef4d3a3a8b5e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1a25936ca976f381d4588c1750acef4d3a3a8b5e
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Jan 26 12:08:51 2007 +0100
widl: Add a few more fields in the stub descriptor.
---
tools/widl/proxy.c | 27 ++++++++++++++++++++-------
1 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c
index 3268e5d..2f71cd9 100644
--- a/tools/widl/proxy.c
+++ b/tools/widl/proxy.c
@@ -67,18 +67,31 @@ static int print_proxy( const char *form
static void write_stubdescproto(void)
{
- print_proxy( "extern const MIDL_STUB_DESC Object_StubDesc;\n");
+ print_proxy( "static const MIDL_STUB_DESC Object_StubDesc;\n");
print_proxy( "\n");
}
static void write_stubdesc(void)
{
- print_proxy( "const MIDL_STUB_DESC Object_StubDesc = {\n");
- print_proxy( " 0,\n");
- print_proxy( " NdrOleAllocate,\n");
- print_proxy( " NdrOleFree,\n");
- print_proxy( " {0}, 0, 0, 0, 0,\n");
- print_proxy( " 0 /* __MIDL_TypeFormatString.Format */\n");
+ print_proxy( "static const MIDL_STUB_DESC Object_StubDesc =\n{\n");
+ indent++;
+ print_proxy( "0,\n");
+ print_proxy( "NdrOleAllocate,\n");
+ print_proxy( "NdrOleFree,\n");
+ print_proxy( "{0}, 0, 0, 0, 0,\n");
+ print_proxy( "__MIDL_TypeFormatString.Format,\n");
+ print_proxy( "1, /* -error bounds_check flag */\n");
+ print_proxy( "0x10001, /* Ndr library version */\n");
+ print_proxy( "0,\n");
+ print_proxy( "0x50100a4, /* MIDL Version 5.1.164 */\n");
+ print_proxy( "0,\n");
+ print_proxy( "0,\n");
+ print_proxy( "0, /* notify & notify_flag routine table */\n");
+ print_proxy( "1, /* Flags */\n");
+ print_proxy( "0, /* Reserved3 */\n");
+ print_proxy( "0, /* Reserved4 */\n");
+ print_proxy( "0 /* Reserved5 */\n");
+ indent--;
print_proxy( "};\n");
print_proxy( "\n");
}
More information about the wine-cvs
mailing list