532 lines
28 KiB
C
532 lines
28 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"
|
|
#include "Windows.Storage.Streams.h"
|
|
|
|
/* Forward Declarations */
|
|
#ifndef ____x_ABI_CWindows_CDevices_CCustom_CICustomDevice_FWD_DEFINED__
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CICustomDevice_FWD_DEFINED__
|
|
typedef interface __x_ABI_CWindows_CDevices_CCustom_CICustomDevice __x_ABI_CWindows_CDevices_CCustom_CICustomDevice;
|
|
|
|
#endif // ____x_ABI_CWindows_CDevices_CCustom_CICustomDevice_FWD_DEFINED__
|
|
|
|
#ifndef ____x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics_FWD_DEFINED__
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics_FWD_DEFINED__
|
|
typedef interface __x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics __x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics;
|
|
|
|
#endif // ____x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics_FWD_DEFINED__
|
|
|
|
#ifndef ____x_ABI_CWindows_CDevices_CCustom_CIIOControlCode_FWD_DEFINED__
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CIIOControlCode_FWD_DEFINED__
|
|
typedef interface __x_ABI_CWindows_CDevices_CCustom_CIIOControlCode __x_ABI_CWindows_CDevices_CCustom_CIIOControlCode;
|
|
|
|
#endif // ____x_ABI_CWindows_CDevices_CCustom_CIIOControlCode_FWD_DEFINED__
|
|
|
|
#ifndef ____x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory_FWD_DEFINED__
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory_FWD_DEFINED__
|
|
typedef interface __x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory __x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory;
|
|
|
|
#endif // ____x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory_FWD_DEFINED__
|
|
|
|
#ifndef ____x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics_FWD_DEFINED__
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics_FWD_DEFINED__
|
|
typedef interface __x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics __x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics;
|
|
|
|
#endif // ____x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics_FWD_DEFINED__
|
|
|
|
// Parameterized interface forward declarations (C)
|
|
|
|
// Collection interface definitions
|
|
|
|
typedef interface __x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean __x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean;
|
|
|
|
#if !defined(____x_ABI_C__FIAsyncOperation_1_boolean_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_C__FIAsyncOperation_1_boolean_INTERFACE_DEFINED__
|
|
|
|
typedef interface __x_ABI_C__FIAsyncOperation_1_boolean __x_ABI_C__FIAsyncOperation_1_boolean;
|
|
|
|
// Declare the parameterized interface IID.
|
|
EXTERN_C const IID IID___x_ABI_C__FIAsyncOperation_1_boolean;
|
|
|
|
typedef struct __x_ABI_C__FIAsyncOperation_1_booleanVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIAsyncOperation_1_boolean* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIAsyncOperation_1_boolean* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIAsyncOperation_1_boolean* This);
|
|
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_C__FIAsyncOperation_1_boolean* This,
|
|
ULONG* iidCount,
|
|
IID** iids);
|
|
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_C__FIAsyncOperation_1_boolean* This,
|
|
HSTRING* className);
|
|
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_C__FIAsyncOperation_1_boolean* This,
|
|
TrustLevel* trustLevel);
|
|
HRESULT (STDMETHODCALLTYPE* put_Completed)(__x_ABI_C__FIAsyncOperation_1_boolean* This,
|
|
__x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean* handler);
|
|
HRESULT (STDMETHODCALLTYPE* get_Completed)(__x_ABI_C__FIAsyncOperation_1_boolean* This,
|
|
__x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean** result);
|
|
HRESULT (STDMETHODCALLTYPE* GetResults)(__x_ABI_C__FIAsyncOperation_1_boolean* This,
|
|
boolean* result);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_C__FIAsyncOperation_1_booleanVtbl;
|
|
|
|
interface __x_ABI_C__FIAsyncOperation_1_boolean
|
|
{
|
|
CONST_VTBL struct __x_ABI_C__FIAsyncOperation_1_booleanVtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
#endif // ____x_ABI_C__FIAsyncOperation_1_boolean_INTERFACE_DEFINED__
|
|
|
|
#if !defined(____x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean_INTERFACE_DEFINED__
|
|
|
|
typedef interface __x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean __x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean;
|
|
|
|
// Declare the parameterized interface IID.
|
|
EXTERN_C const IID IID___x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean;
|
|
|
|
typedef struct __x_ABI_C__FIAsyncOperationCompletedHandler_1_booleanVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean* This);
|
|
HRESULT (STDMETHODCALLTYPE* Invoke)(__x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean* This,
|
|
__x_ABI_C__FIAsyncOperation_1_boolean* asyncInfo,
|
|
enum __x_ABI_CWindows_CFoundation_CAsyncStatus asyncStatus);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_C__FIAsyncOperationCompletedHandler_1_booleanVtbl;
|
|
|
|
interface __x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean
|
|
{
|
|
CONST_VTBL struct __x_ABI_C__FIAsyncOperationCompletedHandler_1_booleanVtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
#endif // ____x_ABI_C__FIAsyncOperationCompletedHandler_1_boolean_INTERFACE_DEFINED__
|
|
|
|
typedef interface __x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32 __x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32;
|
|
|
|
#if !defined(____x_ABI_C__FIAsyncOperation_1_UINT32_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_C__FIAsyncOperation_1_UINT32_INTERFACE_DEFINED__
|
|
|
|
typedef interface __x_ABI_C__FIAsyncOperation_1_UINT32 __x_ABI_C__FIAsyncOperation_1_UINT32;
|
|
|
|
// Declare the parameterized interface IID.
|
|
EXTERN_C const IID IID___x_ABI_C__FIAsyncOperation_1_UINT32;
|
|
|
|
typedef struct __x_ABI_C__FIAsyncOperation_1_UINT32Vtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIAsyncOperation_1_UINT32* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIAsyncOperation_1_UINT32* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIAsyncOperation_1_UINT32* This);
|
|
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_C__FIAsyncOperation_1_UINT32* This,
|
|
ULONG* iidCount,
|
|
IID** iids);
|
|
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_C__FIAsyncOperation_1_UINT32* This,
|
|
HSTRING* className);
|
|
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_C__FIAsyncOperation_1_UINT32* This,
|
|
TrustLevel* trustLevel);
|
|
HRESULT (STDMETHODCALLTYPE* put_Completed)(__x_ABI_C__FIAsyncOperation_1_UINT32* This,
|
|
__x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32* handler);
|
|
HRESULT (STDMETHODCALLTYPE* get_Completed)(__x_ABI_C__FIAsyncOperation_1_UINT32* This,
|
|
__x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32** result);
|
|
HRESULT (STDMETHODCALLTYPE* GetResults)(__x_ABI_C__FIAsyncOperation_1_UINT32* This,
|
|
UINT32* result);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_C__FIAsyncOperation_1_UINT32Vtbl;
|
|
|
|
interface __x_ABI_C__FIAsyncOperation_1_UINT32
|
|
{
|
|
CONST_VTBL struct __x_ABI_C__FIAsyncOperation_1_UINT32Vtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
#endif // ____x_ABI_C__FIAsyncOperation_1_UINT32_INTERFACE_DEFINED__
|
|
|
|
#if !defined(____x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32_INTERFACE_DEFINED__
|
|
|
|
typedef interface __x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32 __x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32;
|
|
|
|
// Declare the parameterized interface IID.
|
|
EXTERN_C const IID IID___x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32;
|
|
|
|
typedef struct __x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32Vtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32* This);
|
|
HRESULT (STDMETHODCALLTYPE* Invoke)(__x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32* This,
|
|
__x_ABI_C__FIAsyncOperation_1_UINT32* asyncInfo,
|
|
enum __x_ABI_CWindows_CFoundation_CAsyncStatus asyncStatus);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32Vtbl;
|
|
|
|
interface __x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32
|
|
{
|
|
CONST_VTBL struct __x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32Vtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
#endif // ____x_ABI_C__FIAsyncOperationCompletedHandler_1_UINT32_INTERFACE_DEFINED__
|
|
|
|
typedef interface __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice;
|
|
|
|
#if !defined(____x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice_INTERFACE_DEFINED__
|
|
|
|
typedef interface __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice;
|
|
|
|
// Declare the parameterized interface IID.
|
|
EXTERN_C const IID IID___x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice;
|
|
|
|
typedef struct __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDeviceVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This);
|
|
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This,
|
|
ULONG* iidCount,
|
|
IID** iids);
|
|
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This,
|
|
HSTRING* className);
|
|
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This,
|
|
TrustLevel* trustLevel);
|
|
HRESULT (STDMETHODCALLTYPE* put_Completed)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This,
|
|
__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* handler);
|
|
HRESULT (STDMETHODCALLTYPE* get_Completed)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This,
|
|
__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice** result);
|
|
HRESULT (STDMETHODCALLTYPE* GetResults)(__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This,
|
|
__x_ABI_CWindows_CDevices_CCustom_CICustomDevice** result);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDeviceVtbl;
|
|
|
|
interface __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice
|
|
{
|
|
CONST_VTBL struct __x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDeviceVtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
#endif // ____x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice_INTERFACE_DEFINED__
|
|
|
|
#if !defined(____x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice_INTERFACE_DEFINED__
|
|
|
|
typedef interface __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice;
|
|
|
|
// Declare the parameterized interface IID.
|
|
EXTERN_C const IID IID___x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice;
|
|
|
|
typedef struct __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDeviceVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This);
|
|
HRESULT (STDMETHODCALLTYPE* Invoke)(__x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* This,
|
|
__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice* asyncInfo,
|
|
enum __x_ABI_CWindows_CFoundation_CAsyncStatus asyncStatus);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDeviceVtbl;
|
|
|
|
interface __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice
|
|
{
|
|
CONST_VTBL struct __x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDeviceVtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
#endif // ____x_ABI_C__FIAsyncOperationCompletedHandler_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice_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_CStorage_CStreams_CIBuffer_FWD_DEFINED__
|
|
#define ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
|
|
typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBuffer __x_ABI_CWindows_CStorage_CStreams_CIBuffer;
|
|
|
|
#endif // ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
|
|
|
|
#ifndef ____x_ABI_CWindows_CStorage_CStreams_CIInputStream_FWD_DEFINED__
|
|
#define ____x_ABI_CWindows_CStorage_CStreams_CIInputStream_FWD_DEFINED__
|
|
typedef interface __x_ABI_CWindows_CStorage_CStreams_CIInputStream __x_ABI_CWindows_CStorage_CStreams_CIInputStream;
|
|
|
|
#endif // ____x_ABI_CWindows_CStorage_CStreams_CIInputStream_FWD_DEFINED__
|
|
|
|
#ifndef ____x_ABI_CWindows_CStorage_CStreams_CIOutputStream_FWD_DEFINED__
|
|
#define ____x_ABI_CWindows_CStorage_CStreams_CIOutputStream_FWD_DEFINED__
|
|
typedef interface __x_ABI_CWindows_CStorage_CStreams_CIOutputStream __x_ABI_CWindows_CStorage_CStreams_CIOutputStream;
|
|
|
|
#endif // ____x_ABI_CWindows_CStorage_CStreams_CIOutputStream_FWD_DEFINED__
|
|
|
|
typedef enum __x_ABI_CWindows_CDevices_CCustom_CDeviceAccessMode __x_ABI_CWindows_CDevices_CCustom_CDeviceAccessMode;
|
|
|
|
typedef enum __x_ABI_CWindows_CDevices_CCustom_CDeviceSharingMode __x_ABI_CWindows_CDevices_CCustom_CDeviceSharingMode;
|
|
|
|
typedef enum __x_ABI_CWindows_CDevices_CCustom_CIOControlAccessMode __x_ABI_CWindows_CDevices_CCustom_CIOControlAccessMode;
|
|
|
|
typedef enum __x_ABI_CWindows_CDevices_CCustom_CIOControlBufferingMethod __x_ABI_CWindows_CDevices_CCustom_CIOControlBufferingMethod;
|
|
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CDeviceAccessMode
|
|
{
|
|
__x_ABI_CWindows_CDevices_CCustom_CDeviceAccessMode_Read = 0,
|
|
__x_ABI_CWindows_CDevices_CCustom_CDeviceAccessMode_Write = 1,
|
|
__x_ABI_CWindows_CDevices_CCustom_CDeviceAccessMode_ReadWrite = 2,
|
|
};
|
|
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CDeviceSharingMode
|
|
{
|
|
__x_ABI_CWindows_CDevices_CCustom_CDeviceSharingMode_Shared = 0,
|
|
__x_ABI_CWindows_CDevices_CCustom_CDeviceSharingMode_Exclusive = 1,
|
|
};
|
|
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CIOControlAccessMode
|
|
{
|
|
__x_ABI_CWindows_CDevices_CCustom_CIOControlAccessMode_Any = 0,
|
|
__x_ABI_CWindows_CDevices_CCustom_CIOControlAccessMode_Read = 1,
|
|
__x_ABI_CWindows_CDevices_CCustom_CIOControlAccessMode_Write = 2,
|
|
__x_ABI_CWindows_CDevices_CCustom_CIOControlAccessMode_ReadWrite = 3,
|
|
};
|
|
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CIOControlBufferingMethod
|
|
{
|
|
__x_ABI_CWindows_CDevices_CCustom_CIOControlBufferingMethod_Buffered = 0,
|
|
__x_ABI_CWindows_CDevices_CCustom_CIOControlBufferingMethod_DirectInput = 1,
|
|
__x_ABI_CWindows_CDevices_CCustom_CIOControlBufferingMethod_DirectOutput = 2,
|
|
__x_ABI_CWindows_CDevices_CCustom_CIOControlBufferingMethod_Neither = 3,
|
|
};
|
|
|
|
#if !defined(____x_ABI_CWindows_CDevices_CCustom_CICustomDevice_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CICustomDevice_INTERFACE_DEFINED__
|
|
typedef struct __x_ABI_CWindows_CDevices_CCustom_CICustomDeviceVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This);
|
|
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This,
|
|
ULONG* iidCount,
|
|
IID** iids);
|
|
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This,
|
|
HSTRING* className);
|
|
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This,
|
|
TrustLevel* trustLevel);
|
|
HRESULT (STDMETHODCALLTYPE* get_InputStream)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This,
|
|
__x_ABI_CWindows_CStorage_CStreams_CIInputStream** value);
|
|
HRESULT (STDMETHODCALLTYPE* get_OutputStream)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This,
|
|
__x_ABI_CWindows_CStorage_CStreams_CIOutputStream** value);
|
|
HRESULT (STDMETHODCALLTYPE* SendIOControlAsync)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This,
|
|
__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* ioControlCode,
|
|
__x_ABI_CWindows_CStorage_CStreams_CIBuffer* inputBuffer,
|
|
__x_ABI_CWindows_CStorage_CStreams_CIBuffer* outputBuffer,
|
|
__x_ABI_C__FIAsyncOperation_1_UINT32** operation);
|
|
HRESULT (STDMETHODCALLTYPE* TrySendIOControlAsync)(__x_ABI_CWindows_CDevices_CCustom_CICustomDevice* This,
|
|
__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* ioControlCode,
|
|
__x_ABI_CWindows_CStorage_CStreams_CIBuffer* inputBuffer,
|
|
__x_ABI_CWindows_CStorage_CStreams_CIBuffer* outputBuffer,
|
|
__x_ABI_C__FIAsyncOperation_1_boolean** operation);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_CWindows_CDevices_CCustom_CICustomDeviceVtbl;
|
|
|
|
interface __x_ABI_CWindows_CDevices_CCustom_CICustomDevice
|
|
{
|
|
CONST_VTBL struct __x_ABI_CWindows_CDevices_CCustom_CICustomDeviceVtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
EXTERN_C const IID IID___x_ABI_CWindows_CDevices_CCustom_CICustomDevice;
|
|
#endif /* !defined(____x_ABI_CWindows_CDevices_CCustom_CICustomDevice_INTERFACE_DEFINED__) */
|
|
|
|
#if !defined(____x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics_INTERFACE_DEFINED__
|
|
typedef struct __x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStaticsVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics* This);
|
|
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics* This,
|
|
ULONG* iidCount,
|
|
IID** iids);
|
|
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics* This,
|
|
HSTRING* className);
|
|
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics* This,
|
|
TrustLevel* trustLevel);
|
|
HRESULT (STDMETHODCALLTYPE* GetDeviceSelector)(__x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics* This,
|
|
GUID classGuid,
|
|
HSTRING* value);
|
|
HRESULT (STDMETHODCALLTYPE* FromIdAsync)(__x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics* This,
|
|
HSTRING deviceId,
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CDeviceAccessMode desiredAccess,
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CDeviceSharingMode sharingMode,
|
|
__x_ABI_C__FIAsyncOperation_1___x_ABI_CWindows__CDevices__CCustom__CCustomDevice** operation);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStaticsVtbl;
|
|
|
|
interface __x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics
|
|
{
|
|
CONST_VTBL struct __x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStaticsVtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
EXTERN_C const IID IID___x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics;
|
|
#endif /* !defined(____x_ABI_CWindows_CDevices_CCustom_CICustomDeviceStatics_INTERFACE_DEFINED__) */
|
|
|
|
#if !defined(____x_ABI_CWindows_CDevices_CCustom_CIIOControlCode_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CIIOControlCode_INTERFACE_DEFINED__
|
|
typedef struct __x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This);
|
|
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This,
|
|
ULONG* iidCount,
|
|
IID** iids);
|
|
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This,
|
|
HSTRING* className);
|
|
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This,
|
|
TrustLevel* trustLevel);
|
|
HRESULT (STDMETHODCALLTYPE* get_AccessMode)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This,
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CIOControlAccessMode* value);
|
|
HRESULT (STDMETHODCALLTYPE* get_BufferingMethod)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This,
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CIOControlBufferingMethod* value);
|
|
HRESULT (STDMETHODCALLTYPE* get_Function)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This,
|
|
UINT16* value);
|
|
HRESULT (STDMETHODCALLTYPE* get_DeviceType)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This,
|
|
UINT16* value);
|
|
HRESULT (STDMETHODCALLTYPE* get_ControlCode)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode* This,
|
|
UINT32* value);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeVtbl;
|
|
|
|
interface __x_ABI_CWindows_CDevices_CCustom_CIIOControlCode
|
|
{
|
|
CONST_VTBL struct __x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeVtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
EXTERN_C const IID IID___x_ABI_CWindows_CDevices_CCustom_CIIOControlCode;
|
|
#endif /* !defined(____x_ABI_CWindows_CDevices_CCustom_CIIOControlCode_INTERFACE_DEFINED__) */
|
|
|
|
#if !defined(____x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory_INTERFACE_DEFINED__
|
|
typedef struct __x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactoryVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory* This);
|
|
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory* This,
|
|
ULONG* iidCount,
|
|
IID** iids);
|
|
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory* This,
|
|
HSTRING* className);
|
|
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory* This,
|
|
TrustLevel* trustLevel);
|
|
HRESULT (STDMETHODCALLTYPE* CreateIOControlCode)(__x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory* This,
|
|
UINT16 deviceType,
|
|
UINT16 function,
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CIOControlAccessMode accessMode,
|
|
enum __x_ABI_CWindows_CDevices_CCustom_CIOControlBufferingMethod bufferingMethod,
|
|
__x_ABI_CWindows_CDevices_CCustom_CIIOControlCode** instance);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactoryVtbl;
|
|
|
|
interface __x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory
|
|
{
|
|
CONST_VTBL struct __x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactoryVtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
EXTERN_C const IID IID___x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory;
|
|
#endif /* !defined(____x_ABI_CWindows_CDevices_CCustom_CIIOControlCodeFactory_INTERFACE_DEFINED__) */
|
|
|
|
#if !defined(____x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics_INTERFACE_DEFINED__)
|
|
#define ____x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics_INTERFACE_DEFINED__
|
|
typedef struct __x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStaticsVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT (STDMETHODCALLTYPE* QueryInterface)(__x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics* This,
|
|
REFIID riid,
|
|
void** ppvObject);
|
|
ULONG (STDMETHODCALLTYPE* AddRef)(__x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics* This);
|
|
ULONG (STDMETHODCALLTYPE* Release)(__x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics* This);
|
|
HRESULT (STDMETHODCALLTYPE* GetIids)(__x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics* This,
|
|
ULONG* iidCount,
|
|
IID** iids);
|
|
HRESULT (STDMETHODCALLTYPE* GetRuntimeClassName)(__x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics* This,
|
|
HSTRING* className);
|
|
HRESULT (STDMETHODCALLTYPE* GetTrustLevel)(__x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics* This,
|
|
TrustLevel* trustLevel);
|
|
HRESULT (STDMETHODCALLTYPE* get_Unknown)(__x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics* This,
|
|
UINT16* value);
|
|
|
|
END_INTERFACE
|
|
} __x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStaticsVtbl;
|
|
|
|
interface __x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics
|
|
{
|
|
CONST_VTBL struct __x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStaticsVtbl* lpVtbl;
|
|
};
|
|
|
|
|
|
EXTERN_C const IID IID___x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics;
|
|
#endif /* !defined(____x_ABI_CWindows_CDevices_CCustom_CIKnownDeviceTypesStatics_INTERFACE_DEFINED__) */
|
|
|