winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

AddPackageCatalogResult.h (998B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "AddPackageCatalogResult.g.h"
      5 
      6 namespace winrt::Microsoft::Management::Deployment::implementation
      7 {
      8     struct AddPackageCatalogResult : AddPackageCatalogResultT<AddPackageCatalogResult>
      9     {
     10         AddPackageCatalogResult() = default;
     11 
     12 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     13         void Initialize(
     14             winrt::Microsoft::Management::Deployment::AddPackageCatalogStatus status,
     15             winrt::hresult extendedErrorCode);
     16 #endif
     17 
     18         winrt::Microsoft::Management::Deployment::AddPackageCatalogStatus Status();
     19         winrt::hresult ExtendedErrorCode();
     20 
     21 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     22     private:
     23         winrt::Microsoft::Management::Deployment::AddPackageCatalogStatus m_status = winrt::Microsoft::Management::Deployment::AddPackageCatalogStatus::Ok;
     24         winrt::hresult m_extendedErrorCode = S_OK;
     25 #endif
     26     };
     27 }
     28 #pragma once