swift-cwinrt/Sources/CWinRT/include/Windows.ApplicationModel.ExtendedExecution.h
2024-02-15 17:12:35 -08:00

257 lines
19 KiB
C

// WARNING: Please don't edit this file. It was generated by Swift/WinRT v0.0.1
#pragma once
// Header files for imported files
#include <inspectable.h>
#include <EventToken.h>
#include <windowscontracts.h>
#include "Windows.Foundation.h"
/* Forward Declarations */
#ifndef ____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs;
#endif // ____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs_FWD_DEFINED__
#ifndef ____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession_FWD_DEFINED__
#define ____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession;
#endif // ____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession_FWD_DEFINED__
// Parameterized interface forward declarations (C)
// Collection interface definitions
typedef enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionResult __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionResult;
typedef interface __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult;
#if !defined(____x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult_INTERFACE_DEFINED__)
#define ____x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult_INTERFACE_DEFINED__
typedef interface __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult;
// Declare the parameterized interface IID.
EXTERN_C const IID IID___x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult;
typedef struct __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResultVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* put_Completed)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This,
__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* handler);
HRESULT (STDMETHODCALLTYPE* get_Completed)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This,
__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult** result);
HRESULT (STDMETHODCALLTYPE* GetResults)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This,
enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionResult* result);
END_INTERFACE
} __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResultVtbl;
interface __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult
{
CONST_VTBL struct __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResultVtbl* lpVtbl;
};
#endif // ____x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult_INTERFACE_DEFINED__
#if !defined(____x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult_INTERFACE_DEFINED__)
#define ____x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult_INTERFACE_DEFINED__
typedef interface __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult;
// Declare the parameterized interface IID.
EXTERN_C const IID IID___x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult;
typedef struct __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResultVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This);
HRESULT (STDMETHODCALLTYPE* Invoke)(__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* This,
__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult* asyncInfo,
enum __x_ABI_CWindows_CFoundation_CAsyncStatus asyncStatus);
END_INTERFACE
} __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResultVtbl;
interface __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult
{
CONST_VTBL struct __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResultVtbl* lpVtbl;
};
#endif // ____x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult_INTERFACE_DEFINED__
#if !defined(____x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs_INTERFACE_DEFINED__)
#define ____x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs_INTERFACE_DEFINED__
typedef interface __x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs __x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs;
// Declare the parameterized interface IID.
EXTERN_C const IID IID___x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs;
typedef struct __x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgsVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs* This);
HRESULT (STDMETHODCALLTYPE* Invoke)(__x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs* This,
IInspectable* sender,
__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs* args);
END_INTERFACE
} __x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgsVtbl;
interface __x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs
{
CONST_VTBL struct __x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgsVtbl* lpVtbl;
};
#endif // ____x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs_INTERFACE_DEFINED__
typedef enum __x_ABI_CWindows_CFoundation_CAsyncStatus __x_ABI_CWindows_CFoundation_CAsyncStatus;
#ifndef ____x_ABI_CWindows_CFoundation_CIAsyncInfo_FWD_DEFINED__
#define ____x_ABI_CWindows_CFoundation_CIAsyncInfo_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CFoundation_CIAsyncInfo __x_ABI_CWindows_CFoundation_CIAsyncInfo;
#endif // ____x_ABI_CWindows_CFoundation_CIAsyncInfo_FWD_DEFINED__
#ifndef ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__
#define ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CFoundation_CIClosable __x_ABI_CWindows_CFoundation_CIClosable;
#endif // ____x_ABI_CWindows_CFoundation_CIClosable_FWD_DEFINED__
typedef enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionReason __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionReason;
typedef enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionRevokedReason __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionRevokedReason;
enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionReason
{
__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionReason_Unspecified = 0,
__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionReason_LocationTracking = 1,
__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionReason_SavingData = 2,
};
enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionResult
{
__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionResult_Allowed = 0,
__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionResult_Denied = 1,
};
enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionRevokedReason
{
__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionRevokedReason_Resumed = 0,
__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionRevokedReason_SystemPolicy = 1,
};
#if !defined(____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs_INTERFACE_DEFINED__)
#define ____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs_INTERFACE_DEFINED__
typedef struct __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgsVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* get_Reason)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs* This,
enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionRevokedReason* value);
END_INTERFACE
} __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgsVtbl;
interface __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs
{
CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgsVtbl* lpVtbl;
};
EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs;
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionRevokedEventArgs_INTERFACE_DEFINED__) */
#if !defined(____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession_INTERFACE_DEFINED__)
#define ____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession_INTERFACE_DEFINED__
typedef struct __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSessionVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* get_Reason)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionReason* value);
HRESULT (STDMETHODCALLTYPE* put_Reason)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
enum __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CExtendedExecutionReason value);
HRESULT (STDMETHODCALLTYPE* get_Description)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
HSTRING* value);
HRESULT (STDMETHODCALLTYPE* put_Description)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
HSTRING value);
HRESULT (STDMETHODCALLTYPE* get_PercentProgress)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
UINT32* value);
HRESULT (STDMETHODCALLTYPE* put_PercentProgress)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
UINT32 value);
HRESULT (STDMETHODCALLTYPE* add_Revoked)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
__x_ABI_C__FITypedEventHandler_2_IInspectable___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionRevokedEventArgs* handler,
EventRegistrationToken* token);
HRESULT (STDMETHODCALLTYPE* remove_Revoked)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
EventRegistrationToken token);
HRESULT (STDMETHODCALLTYPE* RequestExtensionAsync)(__x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession* This,
__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CApplicationModel__CExtendedExecution__CExtendedExecutionResult** operation);
END_INTERFACE
} __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSessionVtbl;
interface __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession
{
CONST_VTBL struct __x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSessionVtbl* lpVtbl;
};
EXTERN_C const IID IID___x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession;
#endif /* !defined(____x_ABI_CWindows_CApplicationModel_CExtendedExecution_CIExtendedExecutionSession_INTERFACE_DEFINED__) */