

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 8.00.0595 */
/* @@MIDL_FILE_HEADING(  ) */

#pragma warning( disable: 4049 )  /* more than 64k source lines */


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif

/* verify that the <rpcsal.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCSAL_H_VERSION__
#define __REQUIRED_RPCSAL_H_VERSION__ 100
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __windows2Eapplicationmodel2Ebackground_h__
#define __windows2Eapplicationmodel2Ebackground_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef ____FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
#define ____FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
typedef interface __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration;

#endif 	/* ____FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__ */


#ifndef ____FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
#define ____FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
typedef interface __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration;

#endif 	/* ____FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__ */


#ifndef ____FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
#define ____FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
typedef interface __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration;

#endif 	/* ____FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__ */


#ifndef ____FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
#define ____FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
typedef interface __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration;

#endif 	/* ____FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__ */


#ifndef ____FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_FWD_DEFINED__
#define ____FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_FWD_DEFINED__
typedef interface __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus;

#endif 	/* ____FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_FWD_DEFINED__ */


#ifndef ____FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_FWD_DEFINED__
#define ____FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_FWD_DEFINED__
typedef interface __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus;

#endif 	/* ____FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskCanceledEventHandler;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskProgressEventHandler;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskCompletedEventHandler;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundExecutionManagerStatics;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskInstance;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskDeferral;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTask;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskRegistration;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskRegistrationStatics;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskBuilder;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTrigger;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundCondition;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskCompletedEventArgs;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IBackgroundTaskProgressEventArgs;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface ISystemTrigger;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface ISystemTriggerFactory;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface ISystemCondition;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface ISystemConditionFactory;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface INetworkOperatorNotificationTrigger;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface INetworkOperatorNotificationTriggerFactory;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface ITimeTrigger;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface ITimeTriggerFactory;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IMaintenanceTrigger;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IMaintenanceTriggerFactory;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface INetworkOperatorHotspotAuthenticationTrigger;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_FWD_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory;

#ifdef __cplusplus
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                interface IPushNotificationTriggerFactory;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

#endif /* __cplusplus */

#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_FWD_DEFINED__ */


/* header files for imported files */
#include "inspectable.h"
#include "AsyncInfo.h"
#include "EventToken.h"
#include "Windows.Foundation.h"

#ifdef __cplusplus
extern "C"{
#endif 


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0000 */
/* [local] */ 

#ifdef __cplusplus
} /*extern "C"*/ 
#endif
#include <windows.foundation.collections.h>
#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
interface IBackgroundTaskRegistration;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0000 */
/* [local] */ 




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0000_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0210 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0210 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0210_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0210_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0001 */
/* [local] */ 

#ifndef DEF___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE
#define DEF___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE
#if defined(__cplusplus) && !defined(RO_NO_TEMPLATE_NAME)
} /*extern "C"*/ 
namespace ABI { namespace Windows { namespace Foundation { namespace Collections {
template <>
struct __declspec(uuid("5a1f6d75-8678-547c-8fd7-fbceb6ebf968"))
IKeyValuePair<GUID,ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration*> : IKeyValuePair_impl<GUID,ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration*> {
static const wchar_t* z_get_rc_name_impl() {
return L"Windows.Foundation.Collections.IKeyValuePair`2<Guid, Windows.ApplicationModel.Background.IBackgroundTaskRegistration>"; }
};
typedef IKeyValuePair<GUID,ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration*> __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t;
#define ____FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
#define __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration ABI::Windows::Foundation::Collections::__FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t

/* ABI */ } /* Windows */ } /* Foundation */ } /* Collections */ }
extern "C" {
#endif //__cplusplus
#endif /* DEF___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0001 */
/* [local] */ 




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0001_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0001_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0211 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0211 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0211_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0211_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0002 */
/* [local] */ 

#ifndef DEF___FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE
#define DEF___FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE
#if defined(__cplusplus) && !defined(RO_NO_TEMPLATE_NAME)
} /*extern "C"*/ 
namespace ABI { namespace Windows { namespace Foundation { namespace Collections {
template <>
struct __declspec(uuid("2001aea5-1a86-517e-8be5-11d7fb5935b2"))
IIterator<__FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration*> : IIterator_impl<__FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration*> {
static const wchar_t* z_get_rc_name_impl() {
return L"Windows.Foundation.Collections.IIterator`1<Windows.Foundation.Collections.IKeyValuePair`2<Guid, Windows.ApplicationModel.Background.IBackgroundTaskRegistration>>"; }
};
typedef IIterator<__FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration*> __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t;
#define ____FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration ABI::Windows::Foundation::Collections::__FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t

/* ABI */ } /* Windows */ } /* Foundation */ } /* Collections */ }
extern "C" {
#endif //__cplusplus
#endif /* DEF___FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0002 */
/* [local] */ 




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0002_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0002_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0212 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0212 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0212_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0212_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0003 */
/* [local] */ 

#ifndef DEF___FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE
#define DEF___FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE
#if defined(__cplusplus) && !defined(RO_NO_TEMPLATE_NAME)
} /*extern "C"*/ 
namespace ABI { namespace Windows { namespace Foundation { namespace Collections {
template <>
struct __declspec(uuid("80fb0327-5a00-55cc-85db-a852719981b9"))
IIterable<__FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration*> : IIterable_impl<__FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration*> {
static const wchar_t* z_get_rc_name_impl() {
return L"Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<Guid, Windows.ApplicationModel.Background.IBackgroundTaskRegistration>>"; }
};
typedef IIterable<__FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration*> __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t;
#define ____FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
#define __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration ABI::Windows::Foundation::Collections::__FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t

/* ABI */ } /* Windows */ } /* Foundation */ } /* Collections */ }
extern "C" {
#endif //__cplusplus
#endif /* DEF___FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0003 */
/* [local] */ 




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0003_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0003_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0213 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0213 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0213_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0213_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0004 */
/* [local] */ 

#ifndef DEF___FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE
#define DEF___FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE
#if defined(__cplusplus) && !defined(RO_NO_TEMPLATE_NAME)
} /*extern "C"*/ 
namespace ABI { namespace Windows { namespace Foundation { namespace Collections {
template <>
struct __declspec(uuid("78c880f6-a7dc-5172-89da-7749fc82aa82"))
IMapView<GUID,ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration*> : IMapView_impl<GUID,ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration*> {
static const wchar_t* z_get_rc_name_impl() {
return L"Windows.Foundation.Collections.IMapView`2<Guid, Windows.ApplicationModel.Background.IBackgroundTaskRegistration>"; }
};
typedef IMapView<GUID,ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration*> __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t;
#define ____FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_FWD_DEFINED__
#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration ABI::Windows::Foundation::Collections::__FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_t

/* ABI */ } /* Windows */ } /* Foundation */ } /* Collections */ }
extern "C" {
#endif //__cplusplus
#endif /* DEF___FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_USE */

#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
enum BackgroundAccessStatus;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0004 */
/* [local] */ 





extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0004_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0004_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0214 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0214 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0214_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0214_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0005 */
/* [local] */ 

#ifndef DEF___FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_USE
#define DEF___FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_USE
#if defined(__cplusplus) && !defined(RO_NO_TEMPLATE_NAME)
} /*extern "C"*/ 
namespace ABI { namespace Windows { namespace Foundation {
template <>
struct __declspec(uuid("26dd26e3-3f47-5709-b2f2-d6d0ad3288f0"))
IAsyncOperationCompletedHandler<enum ABI::Windows::ApplicationModel::Background::BackgroundAccessStatus> : IAsyncOperationCompletedHandler_impl<enum ABI::Windows::ApplicationModel::Background::BackgroundAccessStatus> {
static const wchar_t* z_get_rc_name_impl() {
return L"Windows.Foundation.AsyncOperationCompletedHandler`1<Windows.ApplicationModel.Background.BackgroundAccessStatus>"; }
};
typedef IAsyncOperationCompletedHandler<enum ABI::Windows::ApplicationModel::Background::BackgroundAccessStatus> __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_t;
#define ____FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_FWD_DEFINED__
#define __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus ABI::Windows::Foundation::__FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_t

/* ABI */ } /* Windows */ } /* Foundation */ }
extern "C" {
#endif //__cplusplus
#endif /* DEF___FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_USE */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0005 */
/* [local] */ 




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0005_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0005_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0215 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0215 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0215_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0215_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0006 */
/* [local] */ 

#ifndef DEF___FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_USE
#define DEF___FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_USE
#if defined(__cplusplus) && !defined(RO_NO_TEMPLATE_NAME)
} /*extern "C"*/ 
namespace ABI { namespace Windows { namespace Foundation {
template <>
struct __declspec(uuid("7b44e581-cfa9-5763-bed7-6a65739f0dbf"))
IAsyncOperation<enum ABI::Windows::ApplicationModel::Background::BackgroundAccessStatus> : IAsyncOperation_impl<enum ABI::Windows::ApplicationModel::Background::BackgroundAccessStatus> {
static const wchar_t* z_get_rc_name_impl() {
return L"Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.BackgroundAccessStatus>"; }
};
typedef IAsyncOperation<enum ABI::Windows::ApplicationModel::Background::BackgroundAccessStatus> __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_t;
#define ____FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_FWD_DEFINED__
#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus ABI::Windows::Foundation::__FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_t

/* ABI */ } /* Windows */ } /* Foundation */ }
extern "C" {
#endif //__cplusplus
#endif /* DEF___FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_USE */
#if defined(__cplusplus)
}
#endif // defined(__cplusplus)
#include <Windows.Foundation.h>
#if defined(__cplusplus)
extern "C" {
#endif // defined(__cplusplus)
#if !defined(__cplusplus)
#if !defined(__cplusplus)

typedef enum __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundAccessStatus __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundAccessStatus;


#endif /* end if !defined(__cplusplus) */


#endif
#if !defined(__cplusplus)
#if !defined(__cplusplus)

typedef enum __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundTaskCancellationReason __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundTaskCancellationReason;


#endif /* end if !defined(__cplusplus) */


#endif
#if !defined(__cplusplus)
#if !defined(__cplusplus)

typedef enum __x_ABI_CWindows_CApplicationModel_CBackground_CSystemTriggerType __x_ABI_CWindows_CApplicationModel_CBackground_CSystemTriggerType;


#endif /* end if !defined(__cplusplus) */


#endif
#if !defined(__cplusplus)
#if !defined(__cplusplus)

typedef enum __x_ABI_CWindows_CApplicationModel_CBackground_CSystemConditionType __x_ABI_CWindows_CApplicationModel_CBackground_CSystemConditionType;


#endif /* end if !defined(__cplusplus) */


#endif

























#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class BackgroundTaskRegistration;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class BackgroundTaskDeferral;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class BackgroundTaskProgressEventArgs;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class BackgroundTaskCompletedEventArgs;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class BackgroundTaskBuilder;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class SystemTrigger;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class SystemCondition;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class NetworkOperatorNotificationTrigger;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class TimeTrigger;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class MaintenanceTrigger;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class NetworkOperatorHotspotAuthenticationTrigger;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif
#ifdef __cplusplus
namespace ABI {
namespace Windows {
namespace ApplicationModel {
namespace Background {
class PushNotificationTrigger;
} /*Background*/
} /*ApplicationModel*/
} /*Windows*/
}
#endif


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0006 */
/* [local] */ 


#ifdef __cplusplus

} /* end extern "C" */
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                
                typedef enum BackgroundAccessStatus BackgroundAccessStatus;
                
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

extern "C" { 
#endif

#ifdef __cplusplus

} /* end extern "C" */
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                
                typedef enum BackgroundTaskCancellationReason BackgroundTaskCancellationReason;
                
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

extern "C" { 
#endif

#ifdef __cplusplus

} /* end extern "C" */
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                
                typedef enum SystemTriggerType SystemTriggerType;
                
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

extern "C" { 
#endif

#ifdef __cplusplus

} /* end extern "C" */
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                
                typedef enum SystemConditionType SystemConditionType;
                
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

extern "C" { 
#endif




























extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0006_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0006_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0216 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0216 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0216_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0216_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0007 */
/* [local] */ 

#ifndef DEF___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
#define DEF___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
#if !defined(__cplusplus) || defined(RO_NO_TEMPLATE_NAME)


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0007 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0007_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0007_v0_0_s_ifspec;

#ifndef ____FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__
#define ____FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__

/* interface __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */
/* [unique][uuid][object] */ 



/* interface __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */
/* [unique][uuid][object] */ 


EXTERN_C const IID IID___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("5a1f6d75-8678-547c-8fd7-fbceb6ebf968")
    __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration : public IInspectable
    {
    public:
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Key( 
            /* [retval][out] */ __RPC__out GUID *key) = 0;
        
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Value( 
            /* [retval][out] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration **value) = 0;
        
    };
    
    
#else 	/* C style interface */

    typedef struct __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Key )( 
            __RPC__in __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [retval][out] */ __RPC__out GUID *key);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )( 
            __RPC__in __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [retval][out] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration **value);
        
        END_INTERFACE
    } __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl;

    interface __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
    {
        CONST_VTBL struct __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_get_Key(This,key)	\
    ( (This)->lpVtbl -> get_Key(This,key) ) 

#define __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_get_Value(This,value)	\
    ( (This)->lpVtbl -> get_Value(This,value) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0008 */
/* [local] */ 

#endif /* pinterface */
#endif /* DEF___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0008 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0008_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0008_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0217 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0217 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0217_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0217_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0009 */
/* [local] */ 

#ifndef DEF___FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
#define DEF___FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
#if !defined(__cplusplus) || defined(RO_NO_TEMPLATE_NAME)


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0009 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0009_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0009_v0_0_s_ifspec;

#ifndef ____FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__
#define ____FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__

/* interface __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */
/* [unique][uuid][object] */ 



/* interface __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */
/* [unique][uuid][object] */ 


EXTERN_C const IID IID___FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("2001aea5-1a86-517e-8be5-11d7fb5935b2")
    __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration : public IInspectable
    {
    public:
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Current( 
            /* [retval][out] */ __RPC__deref_out_opt __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **current) = 0;
        
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_HasCurrent( 
            /* [retval][out] */ __RPC__out boolean *hasCurrent) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE MoveNext( 
            /* [retval][out] */ __RPC__out boolean *hasCurrent) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE GetMany( 
            /* [in] */ unsigned int capacity,
            /* [size_is][length_is][out] */ __RPC__out_ecount_part(capacity, *actual) __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **items,
            /* [retval][out] */ __RPC__out unsigned int *actual) = 0;
        
    };
    
    
#else 	/* C style interface */

    typedef struct __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Current )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [retval][out] */ __RPC__deref_out_opt __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **current);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_HasCurrent )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [retval][out] */ __RPC__out boolean *hasCurrent);
        
        HRESULT ( STDMETHODCALLTYPE *MoveNext )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [retval][out] */ __RPC__out boolean *hasCurrent);
        
        HRESULT ( STDMETHODCALLTYPE *GetMany )( 
            __RPC__in __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [in] */ unsigned int capacity,
            /* [size_is][length_is][out] */ __RPC__out_ecount_part(capacity, *actual) __FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **items,
            /* [retval][out] */ __RPC__out unsigned int *actual);
        
        END_INTERFACE
    } __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl;

    interface __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
    {
        CONST_VTBL struct __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_get_Current(This,current)	\
    ( (This)->lpVtbl -> get_Current(This,current) ) 

#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_get_HasCurrent(This,hasCurrent)	\
    ( (This)->lpVtbl -> get_HasCurrent(This,hasCurrent) ) 

#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_MoveNext(This,hasCurrent)	\
    ( (This)->lpVtbl -> MoveNext(This,hasCurrent) ) 

#define __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetMany(This,capacity,items,actual)	\
    ( (This)->lpVtbl -> GetMany(This,capacity,items,actual) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0010 */
/* [local] */ 

#endif /* pinterface */
#endif /* DEF___FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0010 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0010_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0010_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0218 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0218 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0218_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0218_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0011 */
/* [local] */ 

#ifndef DEF___FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
#define DEF___FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
#if !defined(__cplusplus) || defined(RO_NO_TEMPLATE_NAME)


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0011 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0011_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0011_v0_0_s_ifspec;

#ifndef ____FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__
#define ____FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__

/* interface __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */
/* [unique][uuid][object] */ 



/* interface __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */
/* [unique][uuid][object] */ 


EXTERN_C const IID IID___FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("80fb0327-5a00-55cc-85db-a852719981b9")
    __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration : public IInspectable
    {
    public:
        virtual HRESULT STDMETHODCALLTYPE First( 
            /* [retval][out] */ __RPC__deref_out_opt __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **first) = 0;
        
    };
    
    
#else 	/* C style interface */

    typedef struct __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *First )( 
            __RPC__in __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [retval][out] */ __RPC__deref_out_opt __FIIterator_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **first);
        
        END_INTERFACE
    } __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl;

    interface __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
    {
        CONST_VTBL struct __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_First(This,first)	\
    ( (This)->lpVtbl -> First(This,first) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0012 */
/* [local] */ 

#endif /* pinterface */
#endif /* DEF___FIIterable_1___FIKeyValuePair_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0012 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0012_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0012_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0219 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0219 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0219_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0219_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0013 */
/* [local] */ 

#ifndef DEF___FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
#define DEF___FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
#if !defined(__cplusplus) || defined(RO_NO_TEMPLATE_NAME)


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0013 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0013_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0013_v0_0_s_ifspec;

#ifndef ____FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__
#define ____FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__

/* interface __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */
/* [unique][uuid][object] */ 



/* interface __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */
/* [unique][uuid][object] */ 


EXTERN_C const IID IID___FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("78c880f6-a7dc-5172-89da-7749fc82aa82")
    __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration : public IInspectable
    {
    public:
        virtual HRESULT STDMETHODCALLTYPE Lookup( 
            /* [in] */ GUID key,
            /* [retval][out] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration **value) = 0;
        
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Size( 
            /* [retval][out] */ __RPC__out unsigned int *size) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE HasKey( 
            /* [in] */ GUID key,
            /* [retval][out] */ __RPC__out boolean *found) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE Split( 
            /* [out] */ __RPC__deref_out_opt __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **firstPartition,
            /* [out] */ __RPC__deref_out_opt __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **secondPartition) = 0;
        
    };
    
    
#else 	/* C style interface */

    typedef struct __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *Lookup )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [in] */ GUID key,
            /* [retval][out] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration **value);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Size )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [retval][out] */ __RPC__out unsigned int *size);
        
        HRESULT ( STDMETHODCALLTYPE *HasKey )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [in] */ GUID key,
            /* [retval][out] */ __RPC__out boolean *found);
        
        HRESULT ( STDMETHODCALLTYPE *Split )( 
            __RPC__in __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__deref_out_opt __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **firstPartition,
            /* [out] */ __RPC__deref_out_opt __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **secondPartition);
        
        END_INTERFACE
    } __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl;

    interface __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration
    {
        CONST_VTBL struct __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistrationVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_Lookup(This,key,value)	\
    ( (This)->lpVtbl -> Lookup(This,key,value) ) 

#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_get_Size(This,size)	\
    ( (This)->lpVtbl -> get_Size(This,size) ) 

#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_HasKey(This,key,found)	\
    ( (This)->lpVtbl -> HasKey(This,key,found) ) 

#define __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_Split(This,firstPartition,secondPartition)	\
    ( (This)->lpVtbl -> Split(This,firstPartition,secondPartition) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0014 */
/* [local] */ 

#endif /* pinterface */
#endif /* DEF___FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0014 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0014_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0014_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0220 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0220 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0220_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0220_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0015 */
/* [local] */ 

#ifndef DEF___FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus
#define DEF___FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus
#if !defined(__cplusplus) || defined(RO_NO_TEMPLATE_NAME)



/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0015 */
/* [local] */ 




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0015_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0015_v0_0_s_ifspec;

#ifndef ____FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_INTERFACE_DEFINED__
#define ____FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_INTERFACE_DEFINED__

/* interface __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus */
/* [unique][uuid][object] */ 



/* interface __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus */
/* [unique][uuid][object] */ 


EXTERN_C const IID IID___FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("26dd26e3-3f47-5709-b2f2-d6d0ad3288f0")
    __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus : public IUnknown
    {
    public:
        virtual HRESULT STDMETHODCALLTYPE Invoke( 
            /* [in] */ __RPC__in_opt __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus *asyncInfo,
            /* [in] */ AsyncStatus status) = 0;
        
    };
    
    
#else 	/* C style interface */

    typedef struct __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatusVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This);
        
        HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            __RPC__in __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This,
            /* [in] */ __RPC__in_opt __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus *asyncInfo,
            /* [in] */ AsyncStatus status);
        
        END_INTERFACE
    } __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatusVtbl;

    interface __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus
    {
        CONST_VTBL struct __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatusVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_Invoke(This,asyncInfo,status)	\
    ( (This)->lpVtbl -> Invoke(This,asyncInfo,status) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0016 */
/* [local] */ 

#endif /* pinterface */
#endif /* DEF___FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0016 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0016_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0016_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0221 */




/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0221 */




extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0221_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0221_v0_0_s_ifspec;

/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0017 */
/* [local] */ 

#ifndef DEF___FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus
#define DEF___FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus
#if !defined(__cplusplus) || defined(RO_NO_TEMPLATE_NAME)


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0017 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0017_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0017_v0_0_s_ifspec;

#ifndef ____FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_INTERFACE_DEFINED__
#define ____FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_INTERFACE_DEFINED__

/* interface __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus */
/* [unique][uuid][object] */ 



/* interface __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus */
/* [unique][uuid][object] */ 


EXTERN_C const IID IID___FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("7b44e581-cfa9-5763-bed7-6a65739f0dbf")
    __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus : public IInspectable
    {
    public:
        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Completed( 
            /* [in] */ __RPC__in_opt __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus *handler) = 0;
        
        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Completed( 
            /* [retval][out] */ __RPC__deref_out_opt __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus **handler) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE GetResults( 
            /* [retval][out] */ __RPC__out enum ABI::Windows::ApplicationModel::Background::BackgroundAccessStatus *results) = 0;
        
    };
    
    
#else 	/* C style interface */

    typedef struct __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatusVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Completed )( 
            __RPC__in __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This,
            /* [in] */ __RPC__in_opt __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus *handler);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Completed )( 
            __RPC__in __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This,
            /* [retval][out] */ __RPC__deref_out_opt __FIAsyncOperationCompletedHandler_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus **handler);
        
        HRESULT ( STDMETHODCALLTYPE *GetResults )( 
            __RPC__in __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus * This,
            /* [retval][out] */ __RPC__out enum __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundAccessStatus *results);
        
        END_INTERFACE
    } __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatusVtbl;

    interface __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus
    {
        CONST_VTBL struct __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatusVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_put_Completed(This,handler)	\
    ( (This)->lpVtbl -> put_Completed(This,handler) ) 

#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_get_Completed(This,handler)	\
    ( (This)->lpVtbl -> get_Completed(This,handler) ) 

#define __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_GetResults(This,results)	\
    ( (This)->lpVtbl -> GetResults(This,results) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0018 */
/* [local] */ 

#endif /* pinterface */
#endif /* DEF___FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus */
#if !defined(__cplusplus)

#if !defined(__cplusplus)
/* [v1_enum] */ 
enum __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundAccessStatus
    {
        BackgroundAccessStatus_Unspecified	= 0,
        BackgroundAccessStatus_AllowedWithAlwaysOnRealTimeConnectivity	= 1,
        BackgroundAccessStatus_AllowedMayUseActiveRealTimeConnectivity	= 2,
        BackgroundAccessStatus_Denied	= 3
    } ;
#endif /* end if !defined(__cplusplus) */

#endif
#if !defined(__cplusplus)

#if !defined(__cplusplus)
/* [v1_enum] */ 
enum __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundTaskCancellationReason
    {
        BackgroundTaskCancellationReason_Abort	= 0,
        BackgroundTaskCancellationReason_Terminating	= 1,
        BackgroundTaskCancellationReason_LoggingOff	= 2,
        BackgroundTaskCancellationReason_ServicingUpdate	= 3
    } ;
#endif /* end if !defined(__cplusplus) */

#endif
#if !defined(__cplusplus)

#if !defined(__cplusplus)
/* [v1_enum] */ 
enum __x_ABI_CWindows_CApplicationModel_CBackground_CSystemTriggerType
    {
        SystemTriggerType_Invalid	= 0,
        SystemTriggerType_SmsReceived	= 1,
        SystemTriggerType_UserPresent	= 2,
        SystemTriggerType_UserAway	= 3,
        SystemTriggerType_NetworkStateChange	= 4,
        SystemTriggerType_ControlChannelReset	= 5,
        SystemTriggerType_InternetAvailable	= 6,
        SystemTriggerType_SessionConnected	= 7,
        SystemTriggerType_ServicingComplete	= 8,
        SystemTriggerType_LockScreenApplicationAdded	= 9,
        SystemTriggerType_LockScreenApplicationRemoved	= 10,
        SystemTriggerType_TimeZoneChange	= 11,
        SystemTriggerType_OnlineIdConnectedStateChange	= 12
    } ;
#endif /* end if !defined(__cplusplus) */

#endif
#if !defined(__cplusplus)

#if !defined(__cplusplus)
/* [v1_enum] */ 
enum __x_ABI_CWindows_CApplicationModel_CBackground_CSystemConditionType
    {
        SystemConditionType_Invalid	= 0,
        SystemConditionType_UserPresent	= 1,
        SystemConditionType_UserNotPresent	= 2,
        SystemConditionType_InternetAvailable	= 3,
        SystemConditionType_InternetNotAvailable	= 4,
        SystemConditionType_SessionConnected	= 5,
        SystemConditionType_SessionDisconnected	= 6
    } ;
#endif /* end if !defined(__cplusplus) */

#endif


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0018 */
/* [local] */ 

#ifdef __cplusplus
} /* end extern "C" */
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                
                /* [v1_enum] */ 
                enum BackgroundAccessStatus
                    {
                        BackgroundAccessStatus_Unspecified	= 0,
                        BackgroundAccessStatus_AllowedWithAlwaysOnRealTimeConnectivity	= 1,
                        BackgroundAccessStatus_AllowedMayUseActiveRealTimeConnectivity	= 2,
                        BackgroundAccessStatus_Denied	= 3
                    } ;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

extern "C" { 
#endif

#ifdef __cplusplus
} /* end extern "C" */
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                
                /* [v1_enum] */ 
                enum BackgroundTaskCancellationReason
                    {
                        BackgroundTaskCancellationReason_Abort	= 0,
                        BackgroundTaskCancellationReason_Terminating	= 1,
                        BackgroundTaskCancellationReason_LoggingOff	= 2,
                        BackgroundTaskCancellationReason_ServicingUpdate	= 3
                    } ;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

extern "C" { 
#endif

#ifdef __cplusplus
} /* end extern "C" */
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                
                /* [v1_enum] */ 
                enum SystemTriggerType
                    {
                        SystemTriggerType_Invalid	= 0,
                        SystemTriggerType_SmsReceived	= 1,
                        SystemTriggerType_UserPresent	= 2,
                        SystemTriggerType_UserAway	= 3,
                        SystemTriggerType_NetworkStateChange	= 4,
                        SystemTriggerType_ControlChannelReset	= 5,
                        SystemTriggerType_InternetAvailable	= 6,
                        SystemTriggerType_SessionConnected	= 7,
                        SystemTriggerType_ServicingComplete	= 8,
                        SystemTriggerType_LockScreenApplicationAdded	= 9,
                        SystemTriggerType_LockScreenApplicationRemoved	= 10,
                        SystemTriggerType_TimeZoneChange	= 11,
                        SystemTriggerType_OnlineIdConnectedStateChange	= 12
                    } ;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

extern "C" { 
#endif

#ifdef __cplusplus
} /* end extern "C" */
namespace ABI {
    namespace Windows {
        namespace ApplicationModel {
            namespace Background {
                
                /* [v1_enum] */ 
                enum SystemConditionType
                    {
                        SystemConditionType_Invalid	= 0,
                        SystemConditionType_UserPresent	= 1,
                        SystemConditionType_UserNotPresent	= 2,
                        SystemConditionType_InternetAvailable	= 3,
                        SystemConditionType_InternetNotAvailable	= 4,
                        SystemConditionType_SessionConnected	= 5,
                        SystemConditionType_SessionDisconnected	= 6
                    } ;
            } /* end namespace */
        } /* end namespace */
    } /* end namespace */
} /* end namespace */

extern "C" { 
#endif



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0018_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0018_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskCanceledEventHandler */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("A6C4BAC0-51F8-4C57-AC3F-156DD1680C4F")
                    IBackgroundTaskCanceledEventHandler : public IUnknown
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Invoke( 
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskInstance *sender,
                            /* [in] */ ABI::Windows::ApplicationModel::Background::BackgroundTaskCancellationReason reason) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskCanceledEventHandler = __uuidof(IBackgroundTaskCanceledEventHandler);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandlerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler * This);
        
        HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler * This,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance *sender,
            /* [in] */ __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundTaskCancellationReason reason);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandlerVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandlerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_Invoke(This,sender,reason)	\
    ( (This)->lpVtbl -> Invoke(This,sender,reason) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler_INTERFACE_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskProgressEventHandler */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("46E0683C-8A88-4C99-804C-76897F6277A6")
                    IBackgroundTaskProgressEventHandler : public IUnknown
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Invoke( 
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration *sender,
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskProgressEventArgs *args) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskProgressEventHandler = __uuidof(IBackgroundTaskProgressEventHandler);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandlerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler * This);
        
        HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler * This,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration *sender,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs *args);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandlerVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandlerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_Invoke(This,sender,args)	\
    ( (This)->lpVtbl -> Invoke(This,sender,args) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler_INTERFACE_DEFINED__ */


#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskCompletedEventHandler */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("5B38E929-A086-46A7-A678-439135822BCF")
                    IBackgroundTaskCompletedEventHandler : public IUnknown
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Invoke( 
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration *sender,
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskCompletedEventArgs *args) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskCompletedEventHandler = __uuidof(IBackgroundTaskCompletedEventHandler);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandlerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler * This);
        
        HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler * This,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration *sender,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs *args);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandlerVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandlerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_Invoke(This,sender,args)	\
    ( (This)->lpVtbl -> Invoke(This,sender,args) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0021 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics[] = L"Windows.ApplicationModel.Background.IBackgroundExecutionManagerStatics";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0021 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0021_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0021_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("E826EA58-66A9-4D41-83D4-B4C18C87B846")
                    IBackgroundExecutionManagerStatics : public IInspectable
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE RequestAccessAsync( 
                            /* [out][retval] */ __RPC__deref_out_opt __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus **operation) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE RequestAccessForApplicationAsync( 
                            /* [in] */ __RPC__in HSTRING applicationId,
                            /* [out][retval] */ __RPC__deref_out_opt __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus **operation) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE RemoveAccess( void) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE RemoveAccessForApplication( 
                            /* [in] */ __RPC__in HSTRING applicationId) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE GetAccessStatus( 
                            /* [out][retval] */ __RPC__out ABI::Windows::ApplicationModel::Background::BackgroundAccessStatus *status) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE GetAccessStatusForApplication( 
                            /* [in] */ __RPC__in HSTRING applicationId,
                            /* [out][retval] */ __RPC__out ABI::Windows::ApplicationModel::Background::BackgroundAccessStatus *status) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundExecutionManagerStatics = __uuidof(IBackgroundExecutionManagerStatics);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStaticsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *RequestAccessAsync )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This,
            /* [out][retval] */ __RPC__deref_out_opt __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus **operation);
        
        HRESULT ( STDMETHODCALLTYPE *RequestAccessForApplicationAsync )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This,
            /* [in] */ __RPC__in HSTRING applicationId,
            /* [out][retval] */ __RPC__deref_out_opt __FIAsyncOperation_1_Windows__CApplicationModel__CBackground__CBackgroundAccessStatus **operation);
        
        HRESULT ( STDMETHODCALLTYPE *RemoveAccess )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This);
        
        HRESULT ( STDMETHODCALLTYPE *RemoveAccessForApplication )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This,
            /* [in] */ __RPC__in HSTRING applicationId);
        
        HRESULT ( STDMETHODCALLTYPE *GetAccessStatus )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This,
            /* [out][retval] */ __RPC__out __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundAccessStatus *status);
        
        HRESULT ( STDMETHODCALLTYPE *GetAccessStatusForApplication )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics * This,
            /* [in] */ __RPC__in HSTRING applicationId,
            /* [out][retval] */ __RPC__out __x_ABI_CWindows_CApplicationModel_CBackground_CBackgroundAccessStatus *status);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStaticsVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStaticsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_RequestAccessAsync(This,operation)	\
    ( (This)->lpVtbl -> RequestAccessAsync(This,operation) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_RequestAccessForApplicationAsync(This,applicationId,operation)	\
    ( (This)->lpVtbl -> RequestAccessForApplicationAsync(This,applicationId,operation) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_RemoveAccess(This)	\
    ( (This)->lpVtbl -> RemoveAccess(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_RemoveAccessForApplication(This,applicationId)	\
    ( (This)->lpVtbl -> RemoveAccessForApplication(This,applicationId) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_GetAccessStatus(This,status)	\
    ( (This)->lpVtbl -> GetAccessStatus(This,status) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_GetAccessStatusForApplication(This,applicationId,status)	\
    ( (This)->lpVtbl -> GetAccessStatusForApplication(This,applicationId,status) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundExecutionManagerStatics_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0022 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundTaskInstance[] = L"Windows.ApplicationModel.Background.IBackgroundTaskInstance";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0022 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0022_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0022_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskInstance */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("865BDA7A-21D8-4573-8F32-928A1B0641F6")
                    IBackgroundTaskInstance : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_InstanceId( 
                            /* [out][retval] */ __RPC__out GUID *value) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Task( 
                            /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration **task) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Progress( 
                            /* [out][retval] */ __RPC__out UINT32 *value) = 0;
                        
                        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Progress( 
                            /* [in] */ UINT32 value) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TriggerDetails( 
                            /* [out][retval] */ __RPC__deref_out_opt IInspectable **triggerDetails) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE add_Canceled( 
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskCanceledEventHandler *cancelHandler,
                            /* [out][retval] */ __RPC__out EventRegistrationToken *cookie) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE remove_Canceled( 
                            /* [in] */ EventRegistrationToken cookie) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SuspendedCount( 
                            /* [out][retval] */ __RPC__out UINT32 *value) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE GetDeferral( 
                            /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskDeferral **deferral) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskInstance = __uuidof(IBackgroundTaskInstance);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstanceVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_InstanceId )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [out][retval] */ __RPC__out GUID *value);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Task )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [out][retval] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration **task);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Progress )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [out][retval] */ __RPC__out UINT32 *value);
        
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Progress )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [in] */ UINT32 value);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TriggerDetails )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [out][retval] */ __RPC__deref_out_opt IInspectable **triggerDetails);
        
        HRESULT ( STDMETHODCALLTYPE *add_Canceled )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCanceledEventHandler *cancelHandler,
            /* [out][retval] */ __RPC__out EventRegistrationToken *cookie);
        
        HRESULT ( STDMETHODCALLTYPE *remove_Canceled )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [in] */ EventRegistrationToken cookie);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SuspendedCount )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [out][retval] */ __RPC__out UINT32 *value);
        
        HRESULT ( STDMETHODCALLTYPE *GetDeferral )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance * This,
            /* [out][retval] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral **deferral);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstanceVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstanceVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_get_InstanceId(This,value)	\
    ( (This)->lpVtbl -> get_InstanceId(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_get_Task(This,task)	\
    ( (This)->lpVtbl -> get_Task(This,task) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_get_Progress(This,value)	\
    ( (This)->lpVtbl -> get_Progress(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_put_Progress(This,value)	\
    ( (This)->lpVtbl -> put_Progress(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_get_TriggerDetails(This,triggerDetails)	\
    ( (This)->lpVtbl -> get_TriggerDetails(This,triggerDetails) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_add_Canceled(This,cancelHandler,cookie)	\
    ( (This)->lpVtbl -> add_Canceled(This,cancelHandler,cookie) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_remove_Canceled(This,cookie)	\
    ( (This)->lpVtbl -> remove_Canceled(This,cookie) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_get_SuspendedCount(This,value)	\
    ( (This)->lpVtbl -> get_SuspendedCount(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_GetDeferral(This,deferral)	\
    ( (This)->lpVtbl -> GetDeferral(This,deferral) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0023 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundTaskDeferral[] = L"Windows.ApplicationModel.Background.IBackgroundTaskDeferral";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0023 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0023_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0023_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskDeferral */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("93CC156D-AF27-4DD3-846E-24EE40CADD25")
                    IBackgroundTaskDeferral : public IInspectable
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Complete( void) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskDeferral = __uuidof(IBackgroundTaskDeferral);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferralVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *Complete )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral * This);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferralVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferralVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_Complete(This)	\
    ( (This)->lpVtbl -> Complete(This) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskDeferral_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0024 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundTask[] = L"Windows.ApplicationModel.Background.IBackgroundTask";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0024 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0024_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0024_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTask */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("7D13D534-FD12-43CE-8C22-EA1FF13C06DF")
                    IBackgroundTask : public IInspectable
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Run( 
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskInstance *taskInstance) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTask = __uuidof(IBackgroundTask);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *Run )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask * This,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskInstance *taskInstance);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_Run(This,taskInstance)	\
    ( (This)->lpVtbl -> Run(This,taskInstance) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTask_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0025 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundTaskRegistration[] = L"Windows.ApplicationModel.Background.IBackgroundTaskRegistration";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0025 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0025_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0025_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("10654CC2-A26E-43BF-8C12-1FB40DBFBFA0")
                    IBackgroundTaskRegistration : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TaskId( 
                            /* [out][retval] */ __RPC__out GUID *value) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
                            /* [out][retval] */ __RPC__deref_out_opt HSTRING *value) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE add_Progress( 
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskProgressEventHandler *handler,
                            /* [out][retval] */ __RPC__out EventRegistrationToken *cookie) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE remove_Progress( 
                            /* [in] */ EventRegistrationToken cookie) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE add_Completed( 
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskCompletedEventHandler *handler,
                            /* [out][retval] */ __RPC__out EventRegistrationToken *cookie) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE remove_Completed( 
                            /* [in] */ EventRegistrationToken cookie) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE Unregister( 
                            /* [in] */ boolean cancelTask) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskRegistration = __uuidof(IBackgroundTaskRegistration);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TaskId )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [out][retval] */ __RPC__out GUID *value);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [out][retval] */ __RPC__deref_out_opt HSTRING *value);
        
        HRESULT ( STDMETHODCALLTYPE *add_Progress )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventHandler *handler,
            /* [out][retval] */ __RPC__out EventRegistrationToken *cookie);
        
        HRESULT ( STDMETHODCALLTYPE *remove_Progress )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [in] */ EventRegistrationToken cookie);
        
        HRESULT ( STDMETHODCALLTYPE *add_Completed )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventHandler *handler,
            /* [out][retval] */ __RPC__out EventRegistrationToken *cookie);
        
        HRESULT ( STDMETHODCALLTYPE *remove_Completed )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [in] */ EventRegistrationToken cookie);
        
        HRESULT ( STDMETHODCALLTYPE *Unregister )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration * This,
            /* [in] */ boolean cancelTask);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_get_TaskId(This,value)	\
    ( (This)->lpVtbl -> get_TaskId(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_get_Name(This,value)	\
    ( (This)->lpVtbl -> get_Name(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_add_Progress(This,handler,cookie)	\
    ( (This)->lpVtbl -> add_Progress(This,handler,cookie) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_remove_Progress(This,cookie)	\
    ( (This)->lpVtbl -> remove_Progress(This,cookie) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_add_Completed(This,handler,cookie)	\
    ( (This)->lpVtbl -> add_Completed(This,handler,cookie) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_remove_Completed(This,cookie)	\
    ( (This)->lpVtbl -> remove_Completed(This,cookie) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_Unregister(This,cancelTask)	\
    ( (This)->lpVtbl -> Unregister(This,cancelTask) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0026 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics[] = L"Windows.ApplicationModel.Background.IBackgroundTaskRegistrationStatics";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0026 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0026_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0026_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationStatics */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("4C542F69-B000-42BA-A093-6A563C65E3F8")
                    IBackgroundTaskRegistrationStatics : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_AllTasks( 
                            /* [out][retval] */ __RPC__deref_out_opt __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **tasks) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskRegistrationStatics = __uuidof(IBackgroundTaskRegistrationStatics);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStaticsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_AllTasks )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics * This,
            /* [out][retval] */ __RPC__deref_out_opt __FIMapView_2_GUID_Windows__CApplicationModel__CBackground__CIBackgroundTaskRegistration **tasks);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStaticsVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStaticsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_get_AllTasks(This,tasks)	\
    ( (This)->lpVtbl -> get_AllTasks(This,tasks) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistrationStatics_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0027 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundTaskBuilder[] = L"Windows.ApplicationModel.Background.IBackgroundTaskBuilder";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0027 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0027_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0027_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskBuilder */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("0351550E-3E64-4572-A93A-84075A37C917")
                    IBackgroundTaskBuilder : public IInspectable
                    {
                    public:
                        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_TaskEntryPoint( 
                            /* [in] */ __RPC__in HSTRING value) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TaskEntryPoint( 
                            /* [out][retval] */ __RPC__deref_out_opt HSTRING *value) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE SetTrigger( 
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundTrigger *trigger) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE AddCondition( 
                            /* [in] */ __RPC__in_opt ABI::Windows::ApplicationModel::Background::IBackgroundCondition *condition) = 0;
                        
                        virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Name( 
                            /* [in] */ __RPC__in HSTRING value) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name( 
                            /* [out][retval] */ __RPC__deref_out_opt HSTRING *value) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE Register( 
                            /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::IBackgroundTaskRegistration **task) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskBuilder = __uuidof(IBackgroundTaskBuilder);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilderVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_TaskEntryPoint )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [in] */ __RPC__in HSTRING value);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TaskEntryPoint )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [out][retval] */ __RPC__deref_out_opt HSTRING *value);
        
        HRESULT ( STDMETHODCALLTYPE *SetTrigger )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger *trigger);
        
        HRESULT ( STDMETHODCALLTYPE *AddCondition )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [in] */ __RPC__in_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition *condition);
        
        /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [in] */ __RPC__in HSTRING value);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [out][retval] */ __RPC__deref_out_opt HSTRING *value);
        
        HRESULT ( STDMETHODCALLTYPE *Register )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder * This,
            /* [out][retval] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskRegistration **task);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilderVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilderVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_put_TaskEntryPoint(This,value)	\
    ( (This)->lpVtbl -> put_TaskEntryPoint(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_get_TaskEntryPoint(This,value)	\
    ( (This)->lpVtbl -> get_TaskEntryPoint(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_SetTrigger(This,trigger)	\
    ( (This)->lpVtbl -> SetTrigger(This,trigger) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_AddCondition(This,condition)	\
    ( (This)->lpVtbl -> AddCondition(This,condition) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_put_Name(This,value)	\
    ( (This)->lpVtbl -> put_Name(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_get_Name(This,value)	\
    ( (This)->lpVtbl -> get_Name(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_Register(This,task)	\
    ( (This)->lpVtbl -> Register(This,task) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskBuilder_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0028 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundTrigger[] = L"Windows.ApplicationModel.Background.IBackgroundTrigger";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0028 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0028_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0028_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTrigger */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("84B3A058-6027-4B87-9790-BDF3F757DBD7")
                    IBackgroundTrigger : public IInspectable
                    {
                    public:
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTrigger = __uuidof(IBackgroundTrigger);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTriggerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTriggerVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTriggerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0029 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundCondition[] = L"Windows.ApplicationModel.Background.IBackgroundCondition";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0029 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0029_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0029_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundCondition */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("AE48A1EE-8951-400A-8302-9C9C9A2A3A3B")
                    IBackgroundCondition : public IInspectable
                    {
                    public:
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundCondition = __uuidof(IBackgroundCondition);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundConditionVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundConditionVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundConditionVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundCondition_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0030 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs[] = L"Windows.ApplicationModel.Background.IBackgroundTaskCompletedEventArgs";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0030 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0030_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0030_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskCompletedEventArgs */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("565D25CF-F209-48F4-9967-2B184F7BFBF0")
                    IBackgroundTaskCompletedEventArgs : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_InstanceId( 
                            /* [out][retval] */ __RPC__out GUID *value) = 0;
                        
                        virtual HRESULT STDMETHODCALLTYPE CheckResult( void) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskCompletedEventArgs = __uuidof(IBackgroundTaskCompletedEventArgs);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_InstanceId )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs * This,
            /* [out][retval] */ __RPC__out GUID *value);
        
        HRESULT ( STDMETHODCALLTYPE *CheckResult )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs * This);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgsVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_get_InstanceId(This,value)	\
    ( (This)->lpVtbl -> get_InstanceId(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_CheckResult(This)	\
    ( (This)->lpVtbl -> CheckResult(This) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskCompletedEventArgs_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0031 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs[] = L"Windows.ApplicationModel.Background.IBackgroundTaskProgressEventArgs";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0031 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0031_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0031_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IBackgroundTaskProgressEventArgs */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("FB1468AC-8332-4D0A-9532-03EAE684DA31")
                    IBackgroundTaskProgressEventArgs : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_InstanceId( 
                            /* [out][retval] */ __RPC__out GUID *value) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Progress( 
                            /* [out][retval] */ __RPC__out UINT32 *value) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IBackgroundTaskProgressEventArgs = __uuidof(IBackgroundTaskProgressEventArgs);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_InstanceId )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs * This,
            /* [out][retval] */ __RPC__out GUID *value);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Progress )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs * This,
            /* [out][retval] */ __RPC__out UINT32 *value);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgsVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_get_InstanceId(This,value)	\
    ( (This)->lpVtbl -> get_InstanceId(This,value) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_get_Progress(This,value)	\
    ( (This)->lpVtbl -> get_Progress(This,value) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTaskProgressEventArgs_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0032 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_ISystemTrigger[] = L"Windows.ApplicationModel.Background.ISystemTrigger";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0032 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0032_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0032_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::ISystemTrigger */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("1D80C776-3748-4463-8D7E-276DC139AC1C")
                    ISystemTrigger : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_OneShot( 
                            /* [out][retval] */ __RPC__out boolean *oneShot) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TriggerType( 
                            /* [out][retval] */ __RPC__out ABI::Windows::ApplicationModel::Background::SystemTriggerType *triggerType) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_ISystemTrigger = __uuidof(ISystemTrigger);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_OneShot )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger * This,
            /* [out][retval] */ __RPC__out boolean *oneShot);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TriggerType )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger * This,
            /* [out][retval] */ __RPC__out __x_ABI_CWindows_CApplicationModel_CBackground_CSystemTriggerType *triggerType);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_get_OneShot(This,oneShot)	\
    ( (This)->lpVtbl -> get_OneShot(This,oneShot) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_get_TriggerType(This,triggerType)	\
    ( (This)->lpVtbl -> get_TriggerType(This,triggerType) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0033 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_ISystemTriggerFactory[] = L"Windows.ApplicationModel.Background.ISystemTriggerFactory";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0033 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0033_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0033_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::ISystemTriggerFactory */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("E80423D4-8791-4579-8126-87EC8AAA407A")
                    ISystemTriggerFactory : public IInspectable
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Create( 
                            /* [in] */ ABI::Windows::ApplicationModel::Background::SystemTriggerType triggerType,
                            /* [in] */ boolean oneShot,
                            /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::ISystemTrigger **trigger) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_ISystemTriggerFactory = __uuidof(ISystemTriggerFactory);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactoryVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *Create )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory * This,
            /* [in] */ __x_ABI_CWindows_CApplicationModel_CBackground_CSystemTriggerType triggerType,
            /* [in] */ boolean oneShot,
            /* [out][retval] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTrigger **trigger);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactoryVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactoryVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_Create(This,triggerType,oneShot,trigger)	\
    ( (This)->lpVtbl -> Create(This,triggerType,oneShot,trigger) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemTriggerFactory_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0034 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_ISystemCondition[] = L"Windows.ApplicationModel.Background.ISystemCondition";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0034 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0034_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0034_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::ISystemCondition */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("C15FB476-89C5-420B-ABD3-FB3030472128")
                    ISystemCondition : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ConditionType( 
                            /* [out][retval] */ __RPC__out ABI::Windows::ApplicationModel::Background::SystemConditionType *conditionType) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_ISystemCondition = __uuidof(ISystemCondition);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConditionType )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition * This,
            /* [out][retval] */ __RPC__out __x_ABI_CWindows_CApplicationModel_CBackground_CSystemConditionType *conditionType);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_get_ConditionType(This,conditionType)	\
    ( (This)->lpVtbl -> get_ConditionType(This,conditionType) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0035 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_ISystemConditionFactory[] = L"Windows.ApplicationModel.Background.ISystemConditionFactory";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0035 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0035_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0035_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::ISystemConditionFactory */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("D269D1F1-05A7-49AE-87D7-16B2B8B9A553")
                    ISystemConditionFactory : public IInspectable
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Create( 
                            /* [in] */ ABI::Windows::ApplicationModel::Background::SystemConditionType conditionType,
                            /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::ISystemCondition **condition) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_ISystemConditionFactory = __uuidof(ISystemConditionFactory);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactoryVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *Create )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory * This,
            /* [in] */ __x_ABI_CWindows_CApplicationModel_CBackground_CSystemConditionType conditionType,
            /* [out][retval] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CISystemCondition **condition);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactoryVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactoryVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_Create(This,conditionType,condition)	\
    ( (This)->lpVtbl -> Create(This,conditionType,condition) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CISystemConditionFactory_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0036 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_INetworkOperatorNotificationTrigger[] = L"Windows.ApplicationModel.Background.INetworkOperatorNotificationTrigger";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0036 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0036_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0036_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::INetworkOperatorNotificationTrigger */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("90089CC6-63CD-480C-95D1-6E6AEF801E4A")
                    INetworkOperatorNotificationTrigger : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_NetworkAccountId( 
                            /* [out][retval] */ __RPC__deref_out_opt HSTRING *value) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_INetworkOperatorNotificationTrigger = __uuidof(INetworkOperatorNotificationTrigger);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_NetworkAccountId )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger * This,
            /* [out][retval] */ __RPC__deref_out_opt HSTRING *value);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_get_NetworkAccountId(This,value)	\
    ( (This)->lpVtbl -> get_NetworkAccountId(This,value) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0037 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_INetworkOperatorNotificationTriggerFactory[] = L"Windows.ApplicationModel.Background.INetworkOperatorNotificationTriggerFactory";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0037 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0037_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0037_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::INetworkOperatorNotificationTriggerFactory */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("0A223E00-27D7-4353-ADB9-9265AAEA579D")
                    INetworkOperatorNotificationTriggerFactory : public IInspectable
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Create( 
                            /* [in] */ __RPC__in HSTRING networkAccountId,
                            /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::INetworkOperatorNotificationTrigger **trigger) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_INetworkOperatorNotificationTriggerFactory = __uuidof(INetworkOperatorNotificationTriggerFactory);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactoryVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *Create )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory * This,
            /* [in] */ __RPC__in HSTRING networkAccountId,
            /* [out][retval] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTrigger **trigger);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactoryVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactoryVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_Create(This,networkAccountId,trigger)	\
    ( (This)->lpVtbl -> Create(This,networkAccountId,trigger) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorNotificationTriggerFactory_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0038 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_ITimeTrigger[] = L"Windows.ApplicationModel.Background.ITimeTrigger";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0038 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0038_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0038_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::ITimeTrigger */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("656E5556-0B2A-4377-BA70-3B45A935547F")
                    ITimeTrigger : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_FreshnessTime( 
                            /* [out][retval] */ __RPC__out UINT32 *freshnessTime) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_OneShot( 
                            /* [out][retval] */ __RPC__out boolean *oneShot) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_ITimeTrigger = __uuidof(ITimeTrigger);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_FreshnessTime )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger * This,
            /* [out][retval] */ __RPC__out UINT32 *freshnessTime);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_OneShot )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger * This,
            /* [out][retval] */ __RPC__out boolean *oneShot);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_get_FreshnessTime(This,freshnessTime)	\
    ( (This)->lpVtbl -> get_FreshnessTime(This,freshnessTime) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_get_OneShot(This,oneShot)	\
    ( (This)->lpVtbl -> get_OneShot(This,oneShot) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0039 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_ITimeTriggerFactory[] = L"Windows.ApplicationModel.Background.ITimeTriggerFactory";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0039 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0039_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0039_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::ITimeTriggerFactory */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("38C682FE-9B54-45E6-B2F3-269B87A6F734")
                    ITimeTriggerFactory : public IInspectable
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Create( 
                            /* [in] */ UINT32 freshnessTime,
                            /* [in] */ boolean oneShot,
                            /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::ITimeTrigger **trigger) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_ITimeTriggerFactory = __uuidof(ITimeTriggerFactory);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactoryVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *Create )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory * This,
            /* [in] */ UINT32 freshnessTime,
            /* [in] */ boolean oneShot,
            /* [out][retval] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTrigger **trigger);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactoryVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactoryVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_Create(This,freshnessTime,oneShot,trigger)	\
    ( (This)->lpVtbl -> Create(This,freshnessTime,oneShot,trigger) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CITimeTriggerFactory_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0040 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IMaintenanceTrigger[] = L"Windows.ApplicationModel.Background.IMaintenanceTrigger";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0040 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0040_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0040_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IMaintenanceTrigger */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("68184C83-FC22-4CE5-841A-7239A9810047")
                    IMaintenanceTrigger : public IInspectable
                    {
                    public:
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_FreshnessTime( 
                            /* [out][retval] */ __RPC__out UINT32 *freshnessTime) = 0;
                        
                        virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_OneShot( 
                            /* [out][retval] */ __RPC__out boolean *oneShot) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IMaintenanceTrigger = __uuidof(IMaintenanceTrigger);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_FreshnessTime )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger * This,
            /* [out][retval] */ __RPC__out UINT32 *freshnessTime);
        
        /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_OneShot )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger * This,
            /* [out][retval] */ __RPC__out boolean *oneShot);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_get_FreshnessTime(This,freshnessTime)	\
    ( (This)->lpVtbl -> get_FreshnessTime(This,freshnessTime) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_get_OneShot(This,oneShot)	\
    ( (This)->lpVtbl -> get_OneShot(This,oneShot) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0041 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IMaintenanceTriggerFactory[] = L"Windows.ApplicationModel.Background.IMaintenanceTriggerFactory";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0041 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0041_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0041_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IMaintenanceTriggerFactory */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("4B3DDB2E-97DD-4629-88B0-B06CF9482AE5")
                    IMaintenanceTriggerFactory : public IInspectable
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Create( 
                            /* [in] */ UINT32 freshnessTime,
                            /* [in] */ boolean oneShot,
                            /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::IMaintenanceTrigger **trigger) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IMaintenanceTriggerFactory = __uuidof(IMaintenanceTriggerFactory);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactoryVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *Create )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory * This,
            /* [in] */ UINT32 freshnessTime,
            /* [in] */ boolean oneShot,
            /* [out][retval] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTrigger **trigger);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactoryVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactoryVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_Create(This,freshnessTime,oneShot,trigger)	\
    ( (This)->lpVtbl -> Create(This,freshnessTime,oneShot,trigger) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIMaintenanceTriggerFactory_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0042 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_INetworkOperatorHotspotAuthenticationTrigger[] = L"Windows.ApplicationModel.Background.INetworkOperatorHotspotAuthenticationTrigger";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0042 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0042_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0042_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::INetworkOperatorHotspotAuthenticationTrigger */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("E756C791-3001-4DE5-83C7-DE61D88831D0")
                    INetworkOperatorHotspotAuthenticationTrigger : public IInspectable
                    {
                    public:
                    };

                    extern const __declspec(selectany) IID & IID_INetworkOperatorHotspotAuthenticationTrigger = __uuidof(INetworkOperatorHotspotAuthenticationTrigger);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTriggerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTriggerVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTriggerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CINetworkOperatorHotspotAuthenticationTrigger_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0043 */
/* [local] */ 

#if !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_INTERFACE_DEFINED__)
extern const __declspec(selectany) WCHAR InterfaceName_Windows_ApplicationModel_Background_IPushNotificationTriggerFactory[] = L"Windows.ApplicationModel.Background.IPushNotificationTriggerFactory";
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_INTERFACE_DEFINED__) */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0043 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0043_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0043_v0_0_s_ifspec;

#ifndef ____x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_INTERFACE_DEFINED__

/* interface __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory */
/* [uuid][object] */ 



/* interface ABI::Windows::ApplicationModel::Background::IPushNotificationTriggerFactory */
/* [uuid][object] */ 


EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory;

#if defined(__cplusplus) && !defined(CINTERFACE)
    } /* end extern "C" */
    namespace ABI {
        namespace Windows {
            namespace ApplicationModel {
                namespace Background {
                    
                    MIDL_INTERFACE("6DD8ED1B-458E-4FC2-BC2E-D5664F77ED19")
                    IPushNotificationTriggerFactory : public IInspectable
                    {
                    public:
                        virtual HRESULT STDMETHODCALLTYPE Create( 
                            /* [in] */ __RPC__in HSTRING applicationId,
                            /* [out][retval] */ __RPC__deref_out_opt ABI::Windows::ApplicationModel::Background::IBackgroundTrigger **trigger) = 0;
                        
                    };

                    extern const __declspec(selectany) IID & IID_IPushNotificationTriggerFactory = __uuidof(IPushNotificationTriggerFactory);

                    
                }  /* end namespace */
            }  /* end namespace */
        }  /* end namespace */
    }  /* end namespace */
    extern "C" { 
    
#else 	/* C style interface */

    typedef struct __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactoryVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetIids )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory * This,
            /* [out] */ __RPC__out ULONG *iidCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*iidCount) IID **iids);
        
        HRESULT ( STDMETHODCALLTYPE *GetRuntimeClassName )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory * This,
            /* [out] */ __RPC__deref_out_opt HSTRING *className);
        
        HRESULT ( STDMETHODCALLTYPE *GetTrustLevel )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory * This,
            /* [out] */ __RPC__out TrustLevel *trustLevel);
        
        HRESULT ( STDMETHODCALLTYPE *Create )( 
            __RPC__in __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory * This,
            /* [in] */ __RPC__in HSTRING applicationId,
            /* [out][retval] */ __RPC__deref_out_opt __x_ABI_CWindows_CApplicationModel_CBackground_CIBackgroundTrigger **trigger);
        
        END_INTERFACE
    } __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactoryVtbl;

    interface __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory
    {
        CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactoryVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_GetIids(This,iidCount,iids)	\
    ( (This)->lpVtbl -> GetIids(This,iidCount,iids) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_GetRuntimeClassName(This,className)	\
    ( (This)->lpVtbl -> GetRuntimeClassName(This,className) ) 

#define __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_GetTrustLevel(This,trustLevel)	\
    ( (This)->lpVtbl -> GetTrustLevel(This,trustLevel) ) 


#define __x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_Create(This,applicationId,trigger)	\
    ( (This)->lpVtbl -> Create(This,applicationId,trigger) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* ____x_ABI_CWindows_CApplicationModel_CBackground_CIPushNotificationTriggerFactory_INTERFACE_DEFINED__ */


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0044 */
/* [local] */ 

#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundExecutionManager_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundExecutionManager_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_BackgroundExecutionManager[] = L"Windows.ApplicationModel.Background.BackgroundExecutionManager";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskRegistration_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskRegistration_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_BackgroundTaskRegistration[] = L"Windows.ApplicationModel.Background.BackgroundTaskRegistration";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskDeferral_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskDeferral_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_BackgroundTaskDeferral[] = L"Windows.ApplicationModel.Background.BackgroundTaskDeferral";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskProgressEventArgs_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskProgressEventArgs_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_BackgroundTaskProgressEventArgs[] = L"Windows.ApplicationModel.Background.BackgroundTaskProgressEventArgs";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskCompletedEventArgs_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskCompletedEventArgs_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_BackgroundTaskCompletedEventArgs[] = L"Windows.ApplicationModel.Background.BackgroundTaskCompletedEventArgs";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskBuilder_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_BackgroundTaskBuilder_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_BackgroundTaskBuilder[] = L"Windows.ApplicationModel.Background.BackgroundTaskBuilder";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_SystemTrigger_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_SystemTrigger_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_SystemTrigger[] = L"Windows.ApplicationModel.Background.SystemTrigger";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_SystemCondition_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_SystemCondition_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_SystemCondition[] = L"Windows.ApplicationModel.Background.SystemCondition";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_NetworkOperatorNotificationTrigger_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_NetworkOperatorNotificationTrigger_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_NetworkOperatorNotificationTrigger[] = L"Windows.ApplicationModel.Background.NetworkOperatorNotificationTrigger";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_TimeTrigger_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_TimeTrigger_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_TimeTrigger[] = L"Windows.ApplicationModel.Background.TimeTrigger";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_MaintenanceTrigger_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_MaintenanceTrigger_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_MaintenanceTrigger[] = L"Windows.ApplicationModel.Background.MaintenanceTrigger";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_NetworkOperatorHotspotAuthenticationTrigger_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_NetworkOperatorHotspotAuthenticationTrigger_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_NetworkOperatorHotspotAuthenticationTrigger[] = L"Windows.ApplicationModel.Background.NetworkOperatorHotspotAuthenticationTrigger";
#endif
#ifndef RUNTIMECLASS_Windows_ApplicationModel_Background_PushNotificationTrigger_DEFINED
#define RUNTIMECLASS_Windows_ApplicationModel_Background_PushNotificationTrigger_DEFINED
extern const __declspec(selectany) WCHAR RuntimeClass_Windows_ApplicationModel_Background_PushNotificationTrigger[] = L"Windows.ApplicationModel.Background.PushNotificationTrigger";
#endif


/* interface __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0044 */
/* [local] */ 



extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0044_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_windows2Eapplicationmodel2Ebackground_0000_0044_v0_0_s_ifspec;

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  HSTRING_UserSize(     __RPC__in unsigned long *, unsigned long            , __RPC__in HSTRING * ); 
unsigned char * __RPC_USER  HSTRING_UserMarshal(  __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in HSTRING * ); 
unsigned char * __RPC_USER  HSTRING_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out HSTRING * ); 
void                      __RPC_USER  HSTRING_UserFree(     __RPC__in unsigned long *, __RPC__in HSTRING * ); 

unsigned long             __RPC_USER  HSTRING_UserSize64(     __RPC__in unsigned long *, unsigned long            , __RPC__in HSTRING * ); 
unsigned char * __RPC_USER  HSTRING_UserMarshal64(  __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in HSTRING * ); 
unsigned char * __RPC_USER  HSTRING_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out HSTRING * ); 
void                      __RPC_USER  HSTRING_UserFree64(     __RPC__in unsigned long *, __RPC__in HSTRING * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


