Commit 8985e968 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winedump: Dump parameters default values in typelib.

parent 06845a44
......@@ -520,7 +520,7 @@ static int dump_msft_res0f(seg_t *seg)
static void dump_msft_func(int n)
{
int size, args_cnt, i, extra_attr;
int size, args_cnt, i, extra_attr, fkccic;
print_begin_block_id("FuncRecord", n);
......@@ -530,11 +530,11 @@ static void dump_msft_func(int n)
print_hex("flags");
print_short_hex("VtableOffset");
print_short_hex("funcdescsize");
print_hex("FKCCIC");
fkccic = print_hex("FKCCIC");
args_cnt = print_short_hex("nrargs");
print_short_hex("noptargs");
extra_attr = size/sizeof(INT) - 6 - args_cnt*3;
extra_attr = size/sizeof(INT) - 6 - args_cnt*(fkccic&0x1000 ? 4 : 3);
if(extra_attr)
print_hex("helpcontext");
......@@ -551,6 +551,11 @@ static void dump_msft_func(int n)
if(extra_attr >= 7)
print_hex("oCustData");
if(fkccic & 0x1000) {
for(i=0; i < args_cnt; i++)
print_hex_id("default value[%d]", i);
}
for(i=0; i < args_cnt; i++) {
print_begin_block_id("param", i);
......
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