ntdll: Use case-insensitive matching for typelib flags.
Spotted by Austin English.
This commit is contained in:
parent
0fb770492d
commit
88fc916442
|
@ -186,7 +186,7 @@ static const char manifest_wndcls2[] =
|
|||
" <windowClass versioned=\"no\">wndClass3</windowClass>"
|
||||
" <windowClass>wndClass4</windowClass>"
|
||||
" <typelib tlbid=\"{99999999-8888-7777-6666-555555555555}\" version=\"1.0\" helpdir=\"help\" resourceid=\"409\""
|
||||
" flags=\"HIDDEN,CONTROL,RESTRICTED\" />"
|
||||
" flags=\"HiddeN,CoNTROL,rESTRICTED\" />"
|
||||
" <typelib tlbid=\"{99999999-8888-7777-6666-555555555556}\" version=\"1.0\" helpdir=\"help1\" resourceid=\"409\" />"
|
||||
" <typelib tlbid=\"{99999999-8888-7777-6666-555555555557}\" version=\"1.0\" helpdir=\"\" />"
|
||||
"</file>"
|
||||
|
|
|
@ -1646,13 +1646,13 @@ static BOOL parse_typelib_flags(const xmlstr_t *value, struct entity *entity)
|
|||
start = str;
|
||||
while (*str != ',' && (i++ < value->len)) str++;
|
||||
|
||||
if (!strncmpW(start, restrictedW, str-start))
|
||||
if (!strncmpiW(start, restrictedW, str-start))
|
||||
*flags |= LIBFLAG_FRESTRICTED;
|
||||
else if (!strncmpW(start, controlW, str-start))
|
||||
else if (!strncmpiW(start, controlW, str-start))
|
||||
*flags |= LIBFLAG_FCONTROL;
|
||||
else if (!strncmpW(start, hiddenW, str-start))
|
||||
else if (!strncmpiW(start, hiddenW, str-start))
|
||||
*flags |= LIBFLAG_FHIDDEN;
|
||||
else if (!strncmpW(start, hasdiskimageW, str-start))
|
||||
else if (!strncmpiW(start, hasdiskimageW, str-start))
|
||||
*flags |= LIBFLAG_FHASDISKIMAGE;
|
||||
else
|
||||
{
|
||||
|
|
|
@ -4806,7 +4806,7 @@ static const char manifest_dep[] =
|
|||
"<assemblyIdentity version=\"1.2.3.4\" name=\"testdep\" type=\"win32\" processorArchitecture=\"" ARCH "\"/>"
|
||||
"<file name=\"test_actctx_tlb.tlb\">"
|
||||
" <typelib tlbid=\"{d96d8a3e-78b6-4c8d-8f27-059db959be8a}\" version=\"2.7\" helpdir=\"\" resourceid=\"409\""
|
||||
" flags=\"RESTRICTED,CONTROL\""
|
||||
" flags=\"Restricted,cONTROL\""
|
||||
" />"
|
||||
"</file>"
|
||||
"<file name=\"test_actctx_tlb2.tlb\">"
|
||||
|
|
Loading…
Reference in New Issue