winget-cli

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

RemovePackageCatalogResult.cpp (828B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #include "pch.h"
      4 #include "RemovePackageCatalogResult.h"
      5 #include "RemovePackageCatalogResult.g.cpp"
      6 #include <wil\cppwinrt_wrl.h>
      7 
      8 namespace winrt::Microsoft::Management::Deployment::implementation
      9 {
     10     void RemovePackageCatalogResult::Initialize(
     11         winrt::Microsoft::Management::Deployment::RemovePackageCatalogStatus status,
     12         winrt::hresult extendedErrorCode)
     13     {
     14         m_status = status;
     15         m_extendedErrorCode = extendedErrorCode;
     16     }
     17     winrt::Microsoft::Management::Deployment::RemovePackageCatalogStatus RemovePackageCatalogResult::Status()
     18     {
     19         return m_status;
     20     }
     21     winrt::hresult RemovePackageCatalogResult::ExtendedErrorCode()
     22     {
     23         return m_extendedErrorCode;
     24     }
     25 }