mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[DEVMGR] Use FlagsEx to check for DI_FLAGSEX_POWERPAGE_ADDED
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user