mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[DEVMGR] Use FlagsEx to check for DI_FLAGSEX_POWERPAGE_ADDED
This commit is contained in:
parent
ab0bbeb126
commit
c2757032c8
1 changed files with 2 additions and 1 deletions
|
@ -2246,11 +2246,12 @@ GetParentNode:
|
|||
{
|
||||
/* zero the flags */
|
||||
InstallParams.Flags = 0;
|
||||
InstallParams.FlagsEx = 0;
|
||||
}
|
||||
|
||||
dap->HasDriverPage = !(InstallParams.Flags & DI_DRIVERPAGE_ADDED);
|
||||
dap->HasResourcePage = !(InstallParams.Flags & DI_RESOURCEPAGE_ADDED);
|
||||
dap->HasPowerPage = !(InstallParams.Flags & DI_FLAGSEX_POWERPAGE_ADDED);
|
||||
dap->HasPowerPage = !(InstallParams.FlagsEx & DI_FLAGSEX_POWERPAGE_ADDED);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue