diff options
Diffstat (limited to 'src/burn/engine/userexperience.cpp')
| -rw-r--r-- | src/burn/engine/userexperience.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/burn/engine/userexperience.cpp b/src/burn/engine/userexperience.cpp index a3cbcd4a..4325a6ee 100644 --- a/src/burn/engine/userexperience.cpp +++ b/src/burn/engine/userexperience.cpp | |||
| @@ -2631,31 +2631,6 @@ LExit: | |||
| 2631 | return hr; | 2631 | return hr; |
| 2632 | } | 2632 | } |
| 2633 | 2633 | ||
| 2634 | EXTERN_C BAAPI UserExperienceOnSystemShutdown( | ||
| 2635 | __in BURN_USER_EXPERIENCE* pUserExperience, | ||
| 2636 | __in DWORD dwEndSession, | ||
| 2637 | __inout BOOL* pfCancel | ||
| 2638 | ) | ||
| 2639 | { | ||
| 2640 | HRESULT hr = S_OK; | ||
| 2641 | BA_ONSYSTEMSHUTDOWN_ARGS args = { }; | ||
| 2642 | BA_ONSYSTEMSHUTDOWN_RESULTS results = { }; | ||
| 2643 | |||
| 2644 | args.cbSize = sizeof(args); | ||
| 2645 | args.dwEndSession = dwEndSession; | ||
| 2646 | |||
| 2647 | results.cbSize = sizeof(results); | ||
| 2648 | results.fCancel = *pfCancel; | ||
| 2649 | |||
| 2650 | hr = SendBAMessage(pUserExperience, BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMSHUTDOWN, &args, &results); | ||
| 2651 | ExitOnFailure(hr, "BA OnSystemShutdown failed."); | ||
| 2652 | |||
| 2653 | *pfCancel = results.fCancel; | ||
| 2654 | |||
| 2655 | LExit: | ||
| 2656 | return hr; | ||
| 2657 | } | ||
| 2658 | |||
| 2659 | EXTERN_C BAAPI UserExperienceOnUnregisterBegin( | 2634 | EXTERN_C BAAPI UserExperienceOnUnregisterBegin( |
| 2660 | __in BURN_USER_EXPERIENCE* pUserExperience, | 2635 | __in BURN_USER_EXPERIENCE* pUserExperience, |
| 2661 | __inout BOOTSTRAPPER_REGISTRATION_TYPE* pRegistrationType | 2636 | __inout BOOTSTRAPPER_REGISTRATION_TYPE* pRegistrationType |
