1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

mshtml: Don't expose "restricted" members.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
Gabriel Ivăncescu 2023-12-06 20:16:34 +02:00 committed by Alexandre Julliard
parent 39f86db516
commit 7ca9e4ac9f

View File

@ -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)) {