mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[RPCRT4] Fix implicit in attribute handling in write_param_fs()
Cherry-pick wine-5.0-rc1-50-g1aaf870 by Jacek Caban. https://source.winehq.org/git/wine.git/?a=commit;h=1aaf870039dfb8419ae060d8c67240df1366b953 (OLEAUT32_WINETEST part shall be imported later.) CORE-17884
This commit is contained in:
parent
1a4d5dbeaa
commit
1723c223e3
1 changed files with 4 additions and 2 deletions
|
@ -1029,16 +1029,18 @@ static HRESULT write_param_fs(ITypeInfo *typeinfo, unsigned char *type,
|
|||
BOOL is_return, unsigned short *stack_offset)
|
||||
{
|
||||
USHORT param_flags = desc->paramdesc.wParamFlags;
|
||||
int is_in = param_flags & PARAMFLAG_FIN;
|
||||
int is_out = param_flags & PARAMFLAG_FOUT;
|
||||
TYPEDESC *tdesc = &desc->tdesc, *tfs_tdesc;
|
||||
unsigned short server_size;
|
||||
unsigned short stack_size = get_stack_size(typeinfo, tdesc);
|
||||
unsigned char basetype;
|
||||
unsigned short flags;
|
||||
int is_in, is_out;
|
||||
size_t off = 0;
|
||||
HRESULT hr;
|
||||
|
||||
is_out = param_flags & PARAMFLAG_FOUT;
|
||||
is_in = (param_flags & PARAMFLAG_FIN) || (!is_out && !is_return);
|
||||
|
||||
hr = get_param_info(typeinfo, tdesc, is_in, is_out, &server_size, &flags,
|
||||
&basetype, &tfs_tdesc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue