winget-cli

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

IConfigurationStaticsInternals.h (938B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include <Unknwn.h>
      5 #include <winrt/Windows.Foundation.h>
      6 
      7 namespace AppInstaller::WinRT
      8 {
      9     // Flag values for SetExperimentalState.
     10     enum class ConfigurationStaticsInternalsStateFlags : UINT32
     11     {
     12         None = 0,
     13         All = None
     14     };
     15 
     16     DEFINE_ENUM_FLAG_OPERATORS(ConfigurationStaticsInternalsStateFlags);
     17 
     18     MIDL_INTERFACE("C3886148-148A-4A3D-8018-9CDACDFC0B8D")
     19     IConfigurationStaticsInternals : public IUnknown
     20     {
     21     public:
     22         virtual /* [local] */ HRESULT STDMETHODCALLTYPE SetExperimentalState(
     23             UINT32 state) = 0;
     24 
     25         virtual /* [local] */ HRESULT STDMETHODCALLTYPE BlockNewWorkForShutdown() = 0;
     26 
     27         virtual /* [local] */ HRESULT STDMETHODCALLTYPE BeginShutdown() = 0;
     28 
     29         virtual /* [local] */ HRESULT STDMETHODCALLTYPE WaitForShutdown() = 0;
     30     };
     31 }