aboutsummaryrefslogtreecommitdiff
path: root/src/balutil/inc/BalBaseBAFunctions.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/balutil/inc/BalBaseBAFunctions.h101
1 files changed, 87 insertions, 14 deletions
diff --git a/src/balutil/inc/BalBaseBAFunctions.h b/src/balutil/inc/BalBaseBAFunctions.h
index ca727f49..054bfb26 100644
--- a/src/balutil/inc/BalBaseBAFunctions.h
+++ b/src/balutil/inc/BalBaseBAFunctions.h
@@ -69,6 +69,26 @@ public: // IUnknown
69 } 69 }
70 70
71public: // IBootstrapperApplication 71public: // IBootstrapperApplication
72 virtual STDMETHODIMP_(HRESULT) BAProc(
73 __in BOOTSTRAPPER_APPLICATION_MESSAGE /*message*/,
74 __in const LPVOID /*pvArgs*/,
75 __inout LPVOID /*pvResults*/,
76 __in_opt LPVOID /*pvContext*/
77 )
78 {
79 return E_NOTIMPL;
80 }
81
82 virtual STDMETHODIMP_(void) BAProcFallback(
83 __in BOOTSTRAPPER_APPLICATION_MESSAGE /*message*/,
84 __in const LPVOID /*pvArgs*/,
85 __inout LPVOID /*pvResults*/,
86 __inout HRESULT* /*phr*/,
87 __in_opt LPVOID /*pvContext*/
88 )
89 {
90 }
91
72 virtual STDMETHODIMP OnStartup() 92 virtual STDMETHODIMP OnStartup()
73 { 93 {
74 return S_OK; 94 return S_OK;
@@ -439,7 +459,7 @@ public: // IBootstrapperApplication
439 } 459 }
440 460
441 virtual STDMETHODIMP OnCacheVerifyBegin( 461 virtual STDMETHODIMP OnCacheVerifyBegin(
442 __in_z LPCWSTR /*wzPackageId*/, 462 __in_z LPCWSTR /*wzPackageOrContainerId*/,
443 __in_z LPCWSTR /*wzPayloadId*/, 463 __in_z LPCWSTR /*wzPayloadId*/,
444 __inout BOOL* /*pfCancel*/ 464 __inout BOOL* /*pfCancel*/
445 ) 465 )
@@ -447,8 +467,21 @@ public: // IBootstrapperApplication
447 return S_OK; 467 return S_OK;
448 } 468 }
449 469
470 virtual STDMETHODIMP OnCacheVerifyProgress(
471 __in_z_opt LPCWSTR /*wzPackageOrContainerId*/,
472 __in_z_opt LPCWSTR /*wzPayloadId*/,
473 __in DWORD64 /*dw64Progress*/,
474 __in DWORD64 /*dw64Total*/,
475 __in DWORD /*dwOverallPercentage*/,
476 __in BOOTSTRAPPER_CACHE_VERIFY_STEP /*verifyStep*/,
477 __inout BOOL* /*pfCancel*/
478 )
479 {
480 return S_OK;
481 }
482
450 virtual STDMETHODIMP OnCacheVerifyComplete( 483 virtual STDMETHODIMP OnCacheVerifyComplete(
451 __in_z LPCWSTR /*wzPackageId*/, 484 __in_z LPCWSTR /*wzPackageOrContainerId*/,
452 __in_z LPCWSTR /*wzPayloadId*/, 485 __in_z LPCWSTR /*wzPayloadId*/,
453 __in HRESULT /*hrStatus*/, 486 __in HRESULT /*hrStatus*/,
454 __in BOOTSTRAPPER_CACHEVERIFYCOMPLETE_ACTION /*recommendation*/, 487 __in BOOTSTRAPPER_CACHEVERIFYCOMPLETE_ACTION /*recommendation*/,
@@ -684,24 +717,64 @@ public: // IBootstrapperApplication
684 return S_OK; 717 return S_OK;
685 } 718 }
686 719
687 virtual STDMETHODIMP_(HRESULT) BAProc( 720 virtual STDMETHODIMP OnCacheContainerOrPayloadVerifyBegin(
688 __in BOOTSTRAPPER_APPLICATION_MESSAGE /*message*/, 721 __in_z_opt LPCWSTR /*wzPackageOrContainerId*/,
689 __in const LPVOID /*pvArgs*/, 722 __in_z_opt LPCWSTR /*wzPayloadId*/,
690 __inout LPVOID /*pvResults*/, 723 __inout BOOL* /*pfCancel*/
691 __in_opt LPVOID /*pvContext*/
692 ) 724 )
693 { 725 {
694 return E_NOTIMPL; 726 return S_OK;
695 } 727 }
696 728
697 virtual STDMETHODIMP_(void) BAProcFallback( 729 virtual STDMETHODIMP OnCacheContainerOrPayloadVerifyProgress(
698 __in BOOTSTRAPPER_APPLICATION_MESSAGE /*message*/, 730 __in_z_opt LPCWSTR /*wzPackageOrContainerId*/,
699 __in const LPVOID /*pvArgs*/, 731 __in_z_opt LPCWSTR /*wzPayloadId*/,
700 __inout LPVOID /*pvResults*/, 732 __in DWORD64 /*dw64Progress*/,
701 __inout HRESULT* /*phr*/, 733 __in DWORD64 /*dw64Total*/,
702 __in_opt LPVOID /*pvContext*/ 734 __in DWORD /*dwOverallPercentage*/,
735 __inout BOOL* /*pfCancel*/
736 )
737 {
738 return S_OK;
739 }
740
741 virtual STDMETHODIMP OnCacheContainerOrPayloadVerifyComplete(
742 __in_z_opt LPCWSTR /*wzPackageOrContainerId*/,
743 __in_z_opt LPCWSTR /*wzPayloadId*/,
744 __in HRESULT /*hrStatus*/
745 )
746 {
747 return S_OK;
748 }
749
750 virtual STDMETHODIMP OnCachePayloadExtractBegin(
751 __in_z_opt LPCWSTR /*wzPackageOrContainerId*/,
752 __in_z_opt LPCWSTR /*wzPayloadId*/,
753 __inout BOOL* /*pfCancel*/
703 ) 754 )
704 { 755 {
756 return S_OK;
757 }
758
759 virtual STDMETHODIMP OnCachePayloadExtractProgress(
760 __in_z_opt LPCWSTR /*wzPackageOrContainerId*/,
761 __in_z_opt LPCWSTR /*wzPayloadId*/,
762 __in DWORD64 /*dw64Progress*/,
763 __in DWORD64 /*dw64Total*/,
764 __in DWORD /*dwOverallPercentage*/,
765 __inout BOOL* /*pfCancel*/
766 )
767 {
768 return S_OK;
769 }
770
771 virtual STDMETHODIMP OnCachePayloadExtractComplete(
772 __in_z_opt LPCWSTR /*wzPackageOrContainerId*/,
773 __in_z_opt LPCWSTR /*wzPayloadId*/,
774 __in HRESULT /*hrStatus*/
775 )
776 {
777 return S_OK;
705 } 778 }
706 779
707public: // IBAFunctions 780public: // IBAFunctions