winget-cli

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

AddPackageCatalogResult.cpp (807B)


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