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

327 lines
17 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"
// Importing Collections header
#include "Windows.Foundation.Collections.h"
/* Forward Declarations */
#ifndef ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager_FWD_DEFINED__
typedef interface __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager;
#endif // ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager_FWD_DEFINED__
#ifndef ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2_FWD_DEFINED__
typedef interface __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2 __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2;
#endif // ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2_FWD_DEFINED__
#ifndef ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics_FWD_DEFINED__
#define ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics_FWD_DEFINED__
typedef interface __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics;
#endif // ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics_FWD_DEFINED__
// Parameterized interface forward declarations (C)
// Collection interface definitions
#if !defined(____x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING_INTERFACE_DEFINED__)
#define ____x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING_INTERFACE_DEFINED__
typedef interface __x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING __x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING;
// Declare the parameterized interface IID.
EXTERN_C const IID IID___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING;
typedef struct __x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRINGVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* get_Key)(__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
HSTRING* result);
HRESULT (STDMETHODCALLTYPE* get_Value)(__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
HSTRING* result);
END_INTERFACE
} __x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRINGVtbl;
interface __x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING
{
CONST_VTBL struct __x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRINGVtbl* lpVtbl;
};
#endif // ____x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING_INTERFACE_DEFINED__
#if !defined(____x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING_INTERFACE_DEFINED__)
#define ____x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING_INTERFACE_DEFINED__
typedef interface __x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING __x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING;
// Declare the parameterized interface IID.
EXTERN_C const IID IID___x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING;
typedef struct __x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRINGVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* get_Current)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING** result);
HRESULT (STDMETHODCALLTYPE* get_HasCurrent)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
boolean* result);
HRESULT (STDMETHODCALLTYPE* MoveNext)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
boolean* result);
HRESULT (STDMETHODCALLTYPE* GetMany)(__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
UINT32 itemsLength,
__x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING** items,
UINT32* result);
END_INTERFACE
} __x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRINGVtbl;
interface __x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING
{
CONST_VTBL struct __x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRINGVtbl* lpVtbl;
};
#endif // ____x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING_INTERFACE_DEFINED__
#if !defined(____x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING_INTERFACE_DEFINED__)
#define ____x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING_INTERFACE_DEFINED__
typedef interface __x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING __x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING;
// Declare the parameterized interface IID.
EXTERN_C const IID IID___x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING;
typedef struct __x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRINGVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* First)(__x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING* This,
__x_ABI_C__FIIterator_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING** result);
END_INTERFACE
} __x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRINGVtbl;
interface __x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING
{
CONST_VTBL struct __x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRINGVtbl* lpVtbl;
};
#endif // ____x_ABI_C__FIIterable_1___x_ABI_C__FIKeyValuePair_2_HSTRING_HSTRING_INTERFACE_DEFINED__
typedef interface __x_ABI_C__FIMapView_2_HSTRING_HSTRING __x_ABI_C__FIMapView_2_HSTRING_HSTRING;
#if !defined(____x_ABI_C__FIMapView_2_HSTRING_HSTRING_INTERFACE_DEFINED__)
#define ____x_ABI_C__FIMapView_2_HSTRING_HSTRING_INTERFACE_DEFINED__
typedef interface __x_ABI_C__FIMapView_2_HSTRING_HSTRING __x_ABI_C__FIMapView_2_HSTRING_HSTRING;
// Declare the parameterized interface IID.
EXTERN_C const IID IID___x_ABI_C__FIMapView_2_HSTRING_HSTRING;
typedef struct __x_ABI_C__FIMapView_2_HSTRING_HSTRINGVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* Lookup)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This,
HSTRING key,
HSTRING* result);
HRESULT (STDMETHODCALLTYPE* get_Size)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This,
UINT32* result);
HRESULT (STDMETHODCALLTYPE* HasKey)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This,
HSTRING key,
boolean* result);
HRESULT (STDMETHODCALLTYPE* Split)(__x_ABI_C__FIMapView_2_HSTRING_HSTRING* This,
__x_ABI_C__FIMapView_2_HSTRING_HSTRING** first,
__x_ABI_C__FIMapView_2_HSTRING_HSTRING** second);
END_INTERFACE
} __x_ABI_C__FIMapView_2_HSTRING_HSTRINGVtbl;
interface __x_ABI_C__FIMapView_2_HSTRING_HSTRING
{
CONST_VTBL struct __x_ABI_C__FIMapView_2_HSTRING_HSTRINGVtbl* lpVtbl;
};
#endif // ____x_ABI_C__FIMapView_2_HSTRING_HSTRING_INTERFACE_DEFINED__
#if !defined(____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager_INTERFACE_DEFINED__)
#define ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager_INTERFACE_DEFINED__
typedef struct __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* GetEnvironmentVariables)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
__x_ABI_C__FIMapView_2_HSTRING_HSTRING** result);
HRESULT (STDMETHODCALLTYPE* GetEnvironmentVariable)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
HSTRING name,
HSTRING* result);
HRESULT (STDMETHODCALLTYPE* SetEnvironmentVariable)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
HSTRING name,
HSTRING value);
HRESULT (STDMETHODCALLTYPE* AppendToPath)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
HSTRING path);
HRESULT (STDMETHODCALLTYPE* RemoveFromPath)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
HSTRING path);
HRESULT (STDMETHODCALLTYPE* AddExecutableFileExtension)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
HSTRING pathExt);
HRESULT (STDMETHODCALLTYPE* RemoveExecutableFileExtension)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager* This,
HSTRING pathExt);
END_INTERFACE
} __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerVtbl;
interface __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager
{
CONST_VTBL struct __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerVtbl* lpVtbl;
};
EXTERN_C const IID IID___x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager;
#endif /* !defined(____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager_INTERFACE_DEFINED__) */
#if !defined(____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2_INTERFACE_DEFINED__)
#define ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2_INTERFACE_DEFINED__
typedef struct __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2Vtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* get_AreChangesTracked)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2* This,
boolean* value);
END_INTERFACE
} __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2Vtbl;
interface __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2
{
CONST_VTBL struct __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2Vtbl* lpVtbl;
};
EXTERN_C const IID IID___x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2;
#endif /* !defined(____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager2_INTERFACE_DEFINED__) */
#if !defined(____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics_INTERFACE_DEFINED__)
#define ____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics_INTERFACE_DEFINED__
typedef struct __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStaticsVtbl
{
BEGIN_INTERFACE
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This,
REFIID riid,
void** ppvObject);
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This);
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This);
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This,
ULONG* iidCount,
IID** iids);
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This,
HSTRING* className);
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This,
TrustLevel* trustLevel);
HRESULT (STDMETHODCALLTYPE* GetForProcess)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This,
__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager** result);
HRESULT (STDMETHODCALLTYPE* GetForUser)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This,
__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager** result);
HRESULT (STDMETHODCALLTYPE* GetForMachine)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This,
__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManager** result);
HRESULT (STDMETHODCALLTYPE* get_IsSupported)(__x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics* This,
boolean* value);
END_INTERFACE
} __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStaticsVtbl;
interface __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics
{
CONST_VTBL struct __x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStaticsVtbl* lpVtbl;
};
EXTERN_C const IID IID___x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics;
#endif /* !defined(____x_ABI_CMicrosoft_CWindows_CSystem_CIEnvironmentManagerStatics_INTERFACE_DEFINED__) */