From 717f2bebd816eed88fda2fd6d65bd6eddf5f699c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 13 Jun 2011 20:09:47 +0200 Subject: [PATCH] widl: Use the context handle description instead of the pointer for arguments that are pointer to handles. --- tools/widl/typegen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index e07769ce1a..e6de5318f3 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -991,6 +991,7 @@ static unsigned char get_parameter_fc( const type_t *type, const attr_list_t *at break; case TGT_CTXT_HANDLE_POINTER: *flags |= IsSimpleRef; + *typestring_offset += 4; /* fall through */ case TGT_CTXT_HANDLE: buffer_size = 20; -- 2.32.0.93.g670b81a890