diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-12-02 22:38:23 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-12-03 10:58:32 -0600 |
commit | ca5d60d267051b4b75e22763ad8eda06f0501451 (patch) | |
tree | ba125ede0d1e756b8afbddeb4dc75d7ffa82b59c /src/balutil/inc/BalBaseBAFunctions.h | |
parent | fa97c540035df80723a60e870f90bbeeab02bb3b (diff) | |
download | wix-ca5d60d267051b4b75e22763ad8eda06f0501451.tar.gz wix-ca5d60d267051b4b75e22763ad8eda06f0501451.tar.bz2 wix-ca5d60d267051b4b75e22763ad8eda06f0501451.zip |
WIXFEAT:4626,5386 - Add more BA events.
OnBeginMsiTransactionBegin, OnBeginMsiTransactionComplete, OnCommitMsiTransactionBegin, OnCommitMsiTransactionComplete, OnRollbackMsiTransactionBegin, OnRollbackMsiTransactionComplete, OnPauseAutomaticUpdatesBegin, OnPauseAutomaticUpdatesComplete, OnSystemRestorePointBegin, OnSystemRestorePointComplete
Diffstat (limited to 'src/balutil/inc/BalBaseBAFunctions.h')
-rw-r--r-- | src/balutil/inc/BalBaseBAFunctions.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/balutil/inc/BalBaseBAFunctions.h b/src/balutil/inc/BalBaseBAFunctions.h index 72edadd5..39934128 100644 --- a/src/balutil/inc/BalBaseBAFunctions.h +++ b/src/balutil/inc/BalBaseBAFunctions.h | |||
@@ -612,6 +612,79 @@ public: // IBootstrapperApplication | |||
612 | return S_OK; | 612 | return S_OK; |
613 | } | 613 | } |
614 | 614 | ||
615 | virtual STDMETHODIMP OnBeginMsiTransactionBegin( | ||
616 | __in_z LPCWSTR /*wzTransactionId*/, | ||
617 | __inout BOOL* /*pfCancel*/ | ||
618 | ) | ||
619 | { | ||
620 | return S_OK; | ||
621 | } | ||
622 | |||
623 | virtual STDMETHODIMP OnBeginMsiTransactionComplete( | ||
624 | __in_z LPCWSTR /*wzTransactionId*/, | ||
625 | __in HRESULT /*hrStatus*/ | ||
626 | ) | ||
627 | { | ||
628 | return S_OK; | ||
629 | } | ||
630 | |||
631 | virtual STDMETHODIMP OnCommitMsiTransactionBegin( | ||
632 | __in_z LPCWSTR /*wzTransactionId*/, | ||
633 | __inout BOOL* /*pfCancel*/ | ||
634 | ) | ||
635 | { | ||
636 | return S_OK; | ||
637 | } | ||
638 | |||
639 | virtual STDMETHODIMP OnCommitMsiTransactionComplete( | ||
640 | __in_z LPCWSTR /*wzTransactionId*/, | ||
641 | __in HRESULT /*hrStatus*/ | ||
642 | ) | ||
643 | { | ||
644 | return S_OK; | ||
645 | } | ||
646 | |||
647 | virtual STDMETHODIMP OnRollbackMsiTransactionBegin( | ||
648 | __in_z LPCWSTR /*wzTransactionId*/ | ||
649 | ) | ||
650 | { | ||
651 | return S_OK; | ||
652 | } | ||
653 | |||
654 | virtual STDMETHODIMP OnRollbackMsiTransactionComplete( | ||
655 | __in_z LPCWSTR /*wzTransactionId*/, | ||
656 | __in HRESULT /*hrStatus*/ | ||
657 | ) | ||
658 | { | ||
659 | return S_OK; | ||
660 | } | ||
661 | |||
662 | virtual STDMETHODIMP OnPauseAutomaticUpdatesBegin( | ||
663 | ) | ||
664 | { | ||
665 | return S_OK; | ||
666 | } | ||
667 | |||
668 | virtual STDMETHODIMP OnPauseAutomaticUpdatesComplete( | ||
669 | __in HRESULT /*hrStatus*/ | ||
670 | ) | ||
671 | { | ||
672 | return S_OK; | ||
673 | } | ||
674 | |||
675 | virtual STDMETHODIMP OnSystemRestorePointBegin( | ||
676 | ) | ||
677 | { | ||
678 | return S_OK; | ||
679 | } | ||
680 | |||
681 | virtual STDMETHODIMP OnSystemRestorePointComplete( | ||
682 | __in HRESULT /*hrStatus*/ | ||
683 | ) | ||
684 | { | ||
685 | return S_OK; | ||
686 | } | ||
687 | |||
615 | virtual STDMETHODIMP_(HRESULT) BAProc( | 688 | virtual STDMETHODIMP_(HRESULT) BAProc( |
616 | __in BOOTSTRAPPER_APPLICATION_MESSAGE /*message*/, | 689 | __in BOOTSTRAPPER_APPLICATION_MESSAGE /*message*/, |
617 | __in const LPVOID /*pvArgs*/, | 690 | __in const LPVOID /*pvArgs*/, |