mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 17:14:06 +00:00
mshtml: Don't expose "restricted" members.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
39f86db516
commit
7ca9e4ac9f
|
@ -277,6 +277,8 @@ static void add_func_info(dispex_data_t *data, tid_t tid, const FUNCDESC *desc,
|
|||
|
||||
if(name_override)
|
||||
name = SysAllocString(name_override);
|
||||
else if(desc->wFuncFlags & FUNCFLAG_FRESTRICTED)
|
||||
return;
|
||||
else {
|
||||
hres = ITypeInfo_GetDocumentation(dti, desc->memid, &name, NULL, NULL, NULL);
|
||||
if(FAILED(hres)) {
|
||||
|
|
Loading…
Reference in a new issue