[1166] | 1 | /**
|
---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
| 5 | */
|
---|
| 6 | #ifndef __REQUIRED_RPCNDR_H_VERSION__
|
---|
| 7 | #define __REQUIRED_RPCNDR_H_VERSION__ 475
|
---|
| 8 | #endif
|
---|
| 9 |
|
---|
| 10 | #include "rpc.h"
|
---|
| 11 | #include "rpcndr.h"
|
---|
| 12 |
|
---|
| 13 | #ifndef __RPCNDR_H_VERSION__
|
---|
| 14 | #error This stub requires an updated version of <rpcndr.h>
|
---|
| 15 | #endif
|
---|
| 16 |
|
---|
| 17 | #ifndef COM_NO_WINDOWS_H
|
---|
| 18 | #include "windows.h"
|
---|
| 19 | #include "ole2.h"
|
---|
| 20 | #endif
|
---|
| 21 |
|
---|
| 22 | #ifndef __netprov_h__
|
---|
| 23 | #define __netprov_h__
|
---|
| 24 |
|
---|
| 25 | #ifndef __IProvisioningDomain_FWD_DEFINED__
|
---|
| 26 | #define __IProvisioningDomain_FWD_DEFINED__
|
---|
| 27 | typedef struct IProvisioningDomain IProvisioningDomain;
|
---|
| 28 | #endif
|
---|
| 29 |
|
---|
| 30 | #ifndef __IProvisioningProfileWireless_FWD_DEFINED__
|
---|
| 31 | #define __IProvisioningProfileWireless_FWD_DEFINED__
|
---|
| 32 | typedef struct IProvisioningProfileWireless IProvisioningProfileWireless;
|
---|
| 33 | #endif
|
---|
| 34 |
|
---|
| 35 | #ifndef __IFlashConfig_FWD_DEFINED__
|
---|
| 36 | #define __IFlashConfig_FWD_DEFINED__
|
---|
| 37 | typedef struct IFlashConfig IFlashConfig;
|
---|
| 38 | #endif
|
---|
| 39 |
|
---|
| 40 | #ifndef __NetProvisioning_FWD_DEFINED__
|
---|
| 41 | #define __NetProvisioning_FWD_DEFINED__
|
---|
| 42 | #ifdef __cplusplus
|
---|
| 43 | typedef class NetProvisioning NetProvisioning;
|
---|
| 44 | #else
|
---|
| 45 | typedef struct NetProvisioning NetProvisioning;
|
---|
| 46 | #endif
|
---|
| 47 | #endif
|
---|
| 48 |
|
---|
| 49 | #ifndef __FlashConfig_FWD_DEFINED__
|
---|
| 50 | #define __FlashConfig_FWD_DEFINED__
|
---|
| 51 | #ifdef __cplusplus
|
---|
| 52 | typedef class FlashConfig FlashConfig;
|
---|
| 53 | #else
|
---|
| 54 | typedef struct FlashConfig FlashConfig;
|
---|
| 55 | #endif
|
---|
| 56 | #endif
|
---|
| 57 |
|
---|
| 58 | #include "oaidl.h"
|
---|
| 59 | #include "prsht.h"
|
---|
| 60 | #include "msxml.h"
|
---|
| 61 |
|
---|
| 62 | #ifdef __cplusplus
|
---|
| 63 | extern "C"{
|
---|
| 64 | #endif
|
---|
| 65 |
|
---|
| 66 | #ifndef __MIDL_user_allocate_free_DEFINED__
|
---|
| 67 | #define __MIDL_user_allocate_free_DEFINED__
|
---|
| 68 | void *__RPC_API MIDL_user_allocate(size_t);
|
---|
| 69 | void __RPC_API MIDL_user_free(void *);
|
---|
| 70 | #endif
|
---|
| 71 |
|
---|
| 72 | extern RPC_IF_HANDLE __MIDL_itf_netprov_0000_v0_0_c_ifspec;
|
---|
| 73 | extern RPC_IF_HANDLE __MIDL_itf_netprov_0000_v0_0_s_ifspec;
|
---|
| 74 |
|
---|
| 75 | #ifndef __IProvisioningDomain_INTERFACE_DEFINED__
|
---|
| 76 | #define __IProvisioningDomain_INTERFACE_DEFINED__
|
---|
| 77 | EXTERN_C const IID IID_IProvisioningDomain;
|
---|
| 78 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
| 79 | struct IProvisioningDomain : public IUnknown {
|
---|
| 80 | public:
|
---|
| 81 | virtual HRESULT WINAPI Add(LPCWSTR pszwPathToFolder) = 0;
|
---|
| 82 | virtual HRESULT WINAPI Query(LPCWSTR pszwDomain,LPCWSTR pszwLanguage,LPCWSTR pszwXPathQuery,IXMLDOMNodeList **Nodes) = 0;
|
---|
| 83 | };
|
---|
| 84 | #else
|
---|
| 85 | typedef struct IProvisioningDomainVtbl {
|
---|
| 86 | BEGIN_INTERFACE
|
---|
| 87 | HRESULT (WINAPI *QueryInterface)(IProvisioningDomain *This,REFIID riid,void **ppvObject);
|
---|
| 88 | ULONG (WINAPI *AddRef)(IProvisioningDomain *This);
|
---|
| 89 | ULONG (WINAPI *Release)(IProvisioningDomain *This);
|
---|
| 90 | HRESULT (WINAPI *Add)(IProvisioningDomain *This,LPCWSTR pszwPathToFolder);
|
---|
| 91 | HRESULT (WINAPI *Query)(IProvisioningDomain *This,LPCWSTR pszwDomain,LPCWSTR pszwLanguage,LPCWSTR pszwXPathQuery,IXMLDOMNodeList **Nodes);
|
---|
| 92 | END_INTERFACE
|
---|
| 93 | } IProvisioningDomainVtbl;
|
---|
| 94 | struct IProvisioningDomain {
|
---|
| 95 | CONST_VTBL struct IProvisioningDomainVtbl *lpVtbl;
|
---|
| 96 | };
|
---|
| 97 | #ifdef COBJMACROS
|
---|
| 98 | #define IProvisioningDomain_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 99 | #define IProvisioningDomain_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 100 | #define IProvisioningDomain_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 101 | #define IProvisioningDomain_Add(This,pszwPathToFolder) (This)->lpVtbl->Add(This,pszwPathToFolder)
|
---|
| 102 | #define IProvisioningDomain_Query(This,pszwDomain,pszwLanguage,pszwXPathQuery,Nodes) (This)->lpVtbl->Query(This,pszwDomain,pszwLanguage,pszwXPathQuery,Nodes)
|
---|
| 103 | #endif
|
---|
| 104 | #endif
|
---|
| 105 | HRESULT WINAPI IProvisioningDomain_Add_Proxy(IProvisioningDomain *This,LPCWSTR pszwPathToFolder);
|
---|
| 106 | void __RPC_STUB IProvisioningDomain_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 107 | HRESULT WINAPI IProvisioningDomain_Query_Proxy(IProvisioningDomain *This,LPCWSTR pszwDomain,LPCWSTR pszwLanguage,LPCWSTR pszwXPathQuery,IXMLDOMNodeList **Nodes);
|
---|
| 108 | void __RPC_STUB IProvisioningDomain_Query_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 109 | #endif
|
---|
| 110 |
|
---|
| 111 | #define WZC_PROFILE_SUCCESS 0
|
---|
| 112 | #define WZC_PROFILE_XML_ERROR_NO_VERSION 1
|
---|
| 113 | #define WZC_PROFILE_XML_ERROR_BAD_VERSION 2
|
---|
| 114 | #define WZC_PROFILE_XML_ERROR_UNSUPPORTED_VERSION 3
|
---|
| 115 | #define WZC_PROFILE_XML_ERROR_SSID_NOT_FOUND 4
|
---|
| 116 | #define WZC_PROFILE_XML_ERROR_BAD_SSID 5
|
---|
| 117 | #define WZC_PROFILE_XML_ERROR_CONNECTION_TYPE 6
|
---|
| 118 | #define WZC_PROFILE_XML_ERROR_AUTHENTICATION 7
|
---|
| 119 | #define WZC_PROFILE_XML_ERROR_ENCRYPTION 8
|
---|
| 120 | #define WZC_PROFILE_XML_ERROR_KEY_PROVIDED_AUTOMATICALLY 9
|
---|
| 121 | #define WZC_PROFILE_XML_ERROR_1X_ENABLED 10
|
---|
| 122 | #define WZC_PROFILE_XML_ERROR_EAP_METHOD 11
|
---|
| 123 | #define WZC_PROFILE_XML_ERROR_BAD_KEY_INDEX 12
|
---|
| 124 | #define WZC_PROFILE_XML_ERROR_KEY_INDEX_RANGE 13
|
---|
| 125 | #define WZC_PROFILE_XML_ERROR_BAD_NETWORK_KEY 14
|
---|
| 126 | #define WZC_PROFILE_CONFIG_ERROR_INVALID_AUTH_FOR_CONNECTION_TYPE 15
|
---|
| 127 | #define WZC_PROFILE_CONFIG_ERROR_INVALID_ENCRYPTION_FOR_AUTHMODE 16
|
---|
| 128 | #define WZC_PROFILE_CONFIG_ERROR_KEY_REQUIRED 17
|
---|
| 129 | #define WZC_PROFILE_CONFIG_ERROR_KEY_INDEX_REQUIRED 18
|
---|
| 130 | #define WZC_PROFILE_CONFIG_ERROR_KEY_INDEX_NOT_APPLICABLE 19
|
---|
| 131 | #define WZC_PROFILE_CONFIG_ERROR_1X_NOT_ALLOWED 20
|
---|
| 132 | #define WZC_PROFILE_CONFIG_ERROR_1X_NOT_ALLOWED_KEY_REQUIRED 21
|
---|
| 133 | #define WZC_PROFILE_CONFIG_ERROR_1X_NOT_ENABLED_KEY_PROVIDED 22
|
---|
| 134 | #define WZC_PROFILE_CONFIG_ERROR_EAP_METHOD_REQUIRED 23
|
---|
| 135 | #define WZC_PROFILE_CONFIG_ERROR_EAP_METHOD_NOT_APPLICABLE 24
|
---|
| 136 | #define WZC_PROFILE_CONFIG_ERROR_WPA_NOT_SUPPORTED 25
|
---|
| 137 | #define WZC_PROFILE_CONFIG_ERROR_WPA_ENCRYPTION_NOT_SUPPORTED 26
|
---|
| 138 | #define WZC_PROFILE_SET_ERROR_DUPLICATE_NETWORK 27
|
---|
| 139 | #define WZC_PROFILE_SET_ERROR_MEMORY_ALLOCATION 28
|
---|
| 140 | #define WZC_PROFILE_SET_ERROR_READING_1X_CONFIG 29
|
---|
| 141 | #define WZC_PROFILE_SET_ERROR_WRITING_1X_CONFIG 30
|
---|
| 142 | #define WZC_PROFILE_SET_ERROR_WRITING_WZC_CFG 31
|
---|
| 143 | #define WZC_PROFILE_API_ERROR_NOT_SUPPORTED 32
|
---|
| 144 | #define WZC_PROFILE_API_ERROR_FAILED_TO_LOAD_XML 33
|
---|
| 145 | #define WZC_PROFILE_API_ERROR_FAILED_TO_LOAD_SCHEMA 34
|
---|
| 146 | #define WZC_PROFILE_API_ERROR_XML_VALIDATION_FAILED 35
|
---|
| 147 | #define WZC_PROFILE_API_ERROR_INTERNAL 36
|
---|
| 148 |
|
---|
| 149 | extern RPC_IF_HANDLE __MIDL_itf_netprov_0154_v0_0_c_ifspec;
|
---|
| 150 | extern RPC_IF_HANDLE __MIDL_itf_netprov_0154_v0_0_s_ifspec;
|
---|
| 151 |
|
---|
| 152 | #ifndef __IProvisioningProfileWireless_INTERFACE_DEFINED__
|
---|
| 153 | #define __IProvisioningProfileWireless_INTERFACE_DEFINED__
|
---|
| 154 | EXTERN_C const IID IID_IProvisioningProfileWireless;
|
---|
| 155 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
| 156 | struct IProvisioningProfileWireless : public IUnknown {
|
---|
| 157 | public:
|
---|
| 158 | virtual HRESULT WINAPI CreateProfile(BSTR bstrXMLWirelessConfigProfile,BSTR bstrXMLConnectionConfigProfile,GUID *pAdapterInstanceGuid,ULONG *pulStatus) = 0;
|
---|
| 159 | };
|
---|
| 160 | #else
|
---|
| 161 | typedef struct IProvisioningProfileWirelessVtbl {
|
---|
| 162 | BEGIN_INTERFACE
|
---|
| 163 | HRESULT (WINAPI *QueryInterface)(IProvisioningProfileWireless *This,REFIID riid,void **ppvObject);
|
---|
| 164 | ULONG (WINAPI *AddRef)(IProvisioningProfileWireless *This);
|
---|
| 165 | ULONG (WINAPI *Release)(IProvisioningProfileWireless *This);
|
---|
| 166 | HRESULT (WINAPI *CreateProfile)(IProvisioningProfileWireless *This,BSTR bstrXMLWirelessConfigProfile,BSTR bstrXMLConnectionConfigProfile,GUID *pAdapterInstanceGuid,ULONG *pulStatus);
|
---|
| 167 | END_INTERFACE
|
---|
| 168 | } IProvisioningProfileWirelessVtbl;
|
---|
| 169 | struct IProvisioningProfileWireless {
|
---|
| 170 | CONST_VTBL struct IProvisioningProfileWirelessVtbl *lpVtbl;
|
---|
| 171 | };
|
---|
| 172 | #ifdef COBJMACROS
|
---|
| 173 | #define IProvisioningProfileWireless_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 174 | #define IProvisioningProfileWireless_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 175 | #define IProvisioningProfileWireless_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 176 | #define IProvisioningProfileWireless_CreateProfile(This,bstrXMLWirelessConfigProfile,bstrXMLConnectionConfigProfile,pAdapterInstanceGuid,pulStatus) (This)->lpVtbl->CreateProfile(This,bstrXMLWirelessConfigProfile,bstrXMLConnectionConfigProfile,pAdapterInstanceGuid,pulStatus)
|
---|
| 177 | #endif
|
---|
| 178 | #endif
|
---|
| 179 | HRESULT WINAPI IProvisioningProfileWireless_CreateProfile_Proxy(IProvisioningProfileWireless *This,BSTR bstrXMLWirelessConfigProfile,BSTR bstrXMLConnectionConfigProfile,GUID *pAdapterInstanceGuid,ULONG *pulStatus);
|
---|
| 180 | void __RPC_STUB IProvisioningProfileWireless_CreateProfile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 181 | #endif
|
---|
| 182 |
|
---|
| 183 | #ifndef __IFlashConfig_INTERFACE_DEFINED__
|
---|
| 184 | #define __IFlashConfig_INTERFACE_DEFINED__
|
---|
| 185 | typedef enum tagFLASHCONFIG_FLAGS {
|
---|
| 186 | FCF_INFRASTRUCTURE = 0,FCF_ADHOC = 1
|
---|
| 187 | } FLASHCONFIG_FLAGS;
|
---|
| 188 |
|
---|
| 189 | EXTERN_C const IID IID_IFlashConfig;
|
---|
| 190 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
| 191 | struct IFlashConfig : public IUnknown {
|
---|
| 192 | public:
|
---|
| 193 | virtual HRESULT WINAPI RunWizard(HWND hwndParent,FLASHCONFIG_FLAGS eFlags) = 0;
|
---|
| 194 | };
|
---|
| 195 | #else
|
---|
| 196 | typedef struct IFlashConfigVtbl {
|
---|
| 197 | BEGIN_INTERFACE
|
---|
| 198 | HRESULT (WINAPI *QueryInterface)(IFlashConfig *This,REFIID riid,void **ppvObject);
|
---|
| 199 | ULONG (WINAPI *AddRef)(IFlashConfig *This);
|
---|
| 200 | ULONG (WINAPI *Release)(IFlashConfig *This);
|
---|
| 201 | HRESULT (WINAPI *RunWizard)(IFlashConfig *This,HWND hwndParent,FLASHCONFIG_FLAGS eFlags);
|
---|
| 202 | END_INTERFACE
|
---|
| 203 | } IFlashConfigVtbl;
|
---|
| 204 | struct IFlashConfig {
|
---|
| 205 | CONST_VTBL struct IFlashConfigVtbl *lpVtbl;
|
---|
| 206 | };
|
---|
| 207 | #ifdef COBJMACROS
|
---|
| 208 | #define IFlashConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 209 | #define IFlashConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 210 | #define IFlashConfig_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 211 | #define IFlashConfig_RunWizard(This,hwndParent,eFlags) (This)->lpVtbl->RunWizard(This,hwndParent,eFlags)
|
---|
| 212 | #endif
|
---|
| 213 | #endif
|
---|
| 214 | HRESULT WINAPI IFlashConfig_RunWizard_Proxy(IFlashConfig *This,HWND hwndParent,FLASHCONFIG_FLAGS eFlags);
|
---|
| 215 | void __RPC_STUB IFlashConfig_RunWizard_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 216 | #endif
|
---|
| 217 |
|
---|
| 218 | #ifndef __NETPROVLib_LIBRARY_DEFINED__
|
---|
| 219 | #define __NETPROVLib_LIBRARY_DEFINED__
|
---|
| 220 | EXTERN_C const IID LIBID_NETPROVLib;
|
---|
| 221 | EXTERN_C const CLSID CLSID_NetProvisioning;
|
---|
| 222 | #ifdef __cplusplus
|
---|
| 223 | class NetProvisioning;
|
---|
| 224 | #endif
|
---|
| 225 | EXTERN_C const CLSID CLSID_FlashConfig;
|
---|
| 226 | #ifdef __cplusplus
|
---|
| 227 | class FlashConfig;
|
---|
| 228 | #endif
|
---|
| 229 | #endif
|
---|
| 230 | ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
|
---|
| 231 | unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
|
---|
| 232 | unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
|
---|
| 233 | void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
|
---|
| 234 | ULONG __RPC_API HWND_UserSize(ULONG *,ULONG,HWND *);
|
---|
| 235 | unsigned char *__RPC_API HWND_UserMarshal(ULONG *,unsigned char *,HWND *);
|
---|
| 236 | unsigned char *__RPC_API HWND_UserUnmarshal(ULONG *,unsigned char *,HWND *);
|
---|
| 237 | void __RPC_API HWND_UserFree(ULONG *,HWND *);
|
---|
| 238 |
|
---|
| 239 | #ifdef __cplusplus
|
---|
| 240 | }
|
---|
| 241 | #endif
|
---|
| 242 | #endif
|
---|