Application recovery and restart APIs #3099
Replies: 1 comment
-
Maybe we could group related functions together to make ARR easier to use, or Windows App SDK could handle the business rules of ARR. The remarks for RegisterApplicationRecoveryCallback say |
Beta Was this translation helpful? Give feedback.
-
Adding these APIs (https://learn.microsoft.com/en-us/windows/win32/recovery/application-recovery-and-restart-portal) to Windows App SDK would make it much easier to support automatic recovery post device or app reboot.
Registering for these types of restarts is good practice for any Windows app and current experience through Win32-only APIs requires extra steps in some cases (like C#\native code).
I suggest we bring the following to the App SDK:
ApplicationRecoveryFinished
ApplicationRecoveryInProgress
GetApplicationRecoveryCallback
GetApplicationRestartSettings
RegisterApplicationRecoveryCallback
RegisterApplicationRestart
UnregisterApplicationRecoveryCallback
UnregisterApplicationRestart
Beta Was this translation helpful? Give feedback.
All reactions