mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:02:59 +00:00
[UMPNPMGR] PNP_GetGlobalState returns CM_GLOBAL_STATE_SHUTTING_DOWN on service shutdown
This commit is contained in:
parent
978503cd46
commit
91bc5b5e94
3 changed files with 8 additions and 0 deletions
|
@ -687,6 +687,9 @@ PNP_GetGlobalState(
|
|||
|
||||
*pulState = CM_GLOBAL_STATE_CAN_DO_UI | CM_GLOBAL_STATE_SERVICES_AVAILABLE;
|
||||
|
||||
if (g_ShuttingDown)
|
||||
*pulState |= CM_GLOBAL_STATE_SHUTTING_DOWN;
|
||||
|
||||
return CR_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue