Preliminary support for disableWindowFiltering and gdiScaling manifest elements

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6993 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2018-05-14 19:07:17 +00:00
parent 11c050f118
commit b0430b251b
7 changed files with 65 additions and 20 deletions

View file

@ -2293,6 +2293,24 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
}
}
return PS_OK;
case TOK_MANIFEST_DISABLEWINDOWFILTERING:
switch(line.gettoken_enum(1,_T("notset\0false\0true")))
{
case 0:
case 1: manifest_flags &= ~manifest::disablewindowfiltering; break;
case 2: manifest_flags |= manifest::disablewindowfiltering; break;
default: PRINTHELP();
}
return PS_OK;
case TOK_MANIFEST_GDISCALING:
switch(line.gettoken_enum(1,_T("notset\0false\0true")))
{
case 0:
case 1: manifest_flags &= ~manifest::gdiscaling; break;
case 2: manifest_flags |= manifest::gdiscaling; break;
default: PRINTHELP();
}
return PS_OK;
#ifdef _UNICODE
case TOK_TARGET: