winget-cli

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

ApplyConfigurationSetResult.h (1061B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "ApplyConfigurationSetResult.g.h"
      5 #include <winrt/Windows.Foundation.Collections.h>
      6 
      7 namespace winrt::Microsoft::Management::Configuration::implementation
      8 {
      9     struct ApplyConfigurationSetResult : ApplyConfigurationSetResultT<ApplyConfigurationSetResult>
     10     {
     11         using ApplyConfigurationUnitResult = Configuration::ApplyConfigurationUnitResult;
     12 
     13         ApplyConfigurationSetResult();
     14 
     15 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     16         const Windows::Foundation::Collections::IVector<ApplyConfigurationUnitResult>& UnitResultsVector();
     17         void ResultCode(hresult value);
     18 #endif
     19 
     20         Windows::Foundation::Collections::IVectorView<ApplyConfigurationUnitResult> UnitResults() const;
     21         hresult ResultCode() const;
     22 
     23 #if !defined(INCLUDE_ONLY_INTERFACE_METHODS)
     24     private:
     25         Windows::Foundation::Collections::IVector<ApplyConfigurationUnitResult> m_unitResults;
     26         hresult m_resultCode;
     27 #endif
     28     };
     29 }