widl: A structure with variance, but without conformance should be a complex struct instead of a conformant, varying struct.

This commit is contained in:
Rob Shearman 2007-05-30 22:42:03 +01:00 committed by Alexandre Julliard
parent 197bddfb87
commit f198dcf09b
1 changed files with 6 additions and 1 deletions

View File

@ -1622,7 +1622,12 @@ static int get_struct_type(var_list_t *fields)
}
if( has_variance )
{
if ( has_conformance )
return RPC_FC_CVSTRUCT;
else
return RPC_FC_BOGUS_STRUCT;
}
if( has_conformance && has_pointer )
return RPC_FC_CPSTRUCT;
if( has_conformance )