[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__ 440
|
---|
| 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 __iedial_h__
|
---|
| 23 | #define __iedial_h__
|
---|
| 24 |
|
---|
| 25 | #ifndef __IDialEventSink_FWD_DEFINED__
|
---|
| 26 | #define __IDialEventSink_FWD_DEFINED__
|
---|
| 27 | typedef struct IDialEventSink IDialEventSink;
|
---|
| 28 | #endif
|
---|
| 29 |
|
---|
| 30 | #ifndef __IDialEngine_FWD_DEFINED__
|
---|
| 31 | #define __IDialEngine_FWD_DEFINED__
|
---|
| 32 | typedef struct IDialEngine IDialEngine;
|
---|
| 33 | #endif
|
---|
| 34 |
|
---|
| 35 | #ifndef __IDialBranding_FWD_DEFINED__
|
---|
| 36 | #define __IDialBranding_FWD_DEFINED__
|
---|
| 37 | typedef struct IDialBranding IDialBranding;
|
---|
| 38 | #endif
|
---|
| 39 |
|
---|
| 40 | #include "unknwn.h"
|
---|
| 41 | #include "ocidl.h"
|
---|
| 42 |
|
---|
| 43 | #ifdef __cplusplus
|
---|
| 44 | extern "C"{
|
---|
| 45 | #endif
|
---|
| 46 |
|
---|
| 47 | #ifndef __MIDL_user_allocate_free_DEFINED__
|
---|
| 48 | #define __MIDL_user_allocate_free_DEFINED__
|
---|
| 49 | void *__RPC_API MIDL_user_allocate(size_t);
|
---|
| 50 | void __RPC_API MIDL_user_free(void *);
|
---|
| 51 | #endif
|
---|
| 52 |
|
---|
| 53 | extern RPC_IF_HANDLE __MIDL_itf_iedial_0000_v0_0_c_ifspec;
|
---|
| 54 | extern RPC_IF_HANDLE __MIDL_itf_iedial_0000_v0_0_s_ifspec;
|
---|
| 55 |
|
---|
| 56 | #ifndef __IDialEventSink_INTERFACE_DEFINED__
|
---|
| 57 | #define __IDialEventSink_INTERFACE_DEFINED__
|
---|
| 58 | EXTERN_C const IID IID_IDialEventSink;
|
---|
| 59 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
| 60 | struct IDialEventSink : public IUnknown {
|
---|
| 61 | public:
|
---|
| 62 | virtual HRESULT WINAPI OnEvent(DWORD dwEvent,DWORD dwStatus) = 0;
|
---|
| 63 | };
|
---|
| 64 | #else
|
---|
| 65 | typedef struct IDialEventSinkVtbl {
|
---|
| 66 | BEGIN_INTERFACE
|
---|
| 67 | HRESULT (WINAPI *QueryInterface)(IDialEventSink *This,REFIID riid,void **ppvObject);
|
---|
| 68 | ULONG (WINAPI *AddRef)(IDialEventSink *This);
|
---|
| 69 | ULONG (WINAPI *Release)(IDialEventSink *This);
|
---|
| 70 | HRESULT (WINAPI *OnEvent)(IDialEventSink *This,DWORD dwEvent,DWORD dwStatus);
|
---|
| 71 | END_INTERFACE
|
---|
| 72 | } IDialEventSinkVtbl;
|
---|
| 73 | struct IDialEventSink {
|
---|
| 74 | CONST_VTBL struct IDialEventSinkVtbl *lpVtbl;
|
---|
| 75 | };
|
---|
| 76 | #ifdef COBJMACROS
|
---|
| 77 | #define IDialEventSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 78 | #define IDialEventSink_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 79 | #define IDialEventSink_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 80 | #define IDialEventSink_OnEvent(This,dwEvent,dwStatus) (This)->lpVtbl->OnEvent(This,dwEvent,dwStatus)
|
---|
| 81 | #endif
|
---|
| 82 | #endif
|
---|
| 83 | HRESULT WINAPI IDialEventSink_OnEvent_Proxy(IDialEventSink *This,DWORD dwEvent,DWORD dwStatus);
|
---|
| 84 | void __RPC_STUB IDialEventSink_OnEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 85 | #endif
|
---|
| 86 |
|
---|
| 87 | #ifndef __IDialEngine_INTERFACE_DEFINED__
|
---|
| 88 | #define __IDialEngine_INTERFACE_DEFINED__
|
---|
| 89 | EXTERN_C const IID IID_IDialEngine;
|
---|
| 90 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
| 91 | struct IDialEngine : public IUnknown {
|
---|
| 92 | public:
|
---|
| 93 | virtual HRESULT WINAPI Initialize(LPCWSTR pwzConnectoid,IDialEventSink *pIDES) = 0;
|
---|
| 94 | virtual HRESULT WINAPI GetProperty(LPCWSTR pwzProperty,LPWSTR pwzValue,DWORD dwBufSize) = 0;
|
---|
| 95 | virtual HRESULT WINAPI SetProperty(LPCWSTR pwzProperty,LPCWSTR pwzValue) = 0;
|
---|
| 96 | virtual HRESULT WINAPI Dial(void) = 0;
|
---|
| 97 | virtual HRESULT WINAPI HangUp(void) = 0;
|
---|
| 98 | virtual HRESULT WINAPI GetConnectedState(DWORD *pdwState) = 0;
|
---|
| 99 | virtual HRESULT WINAPI GetConnectHandle(DWORD_PTR *pdwHandle) = 0;
|
---|
| 100 | };
|
---|
| 101 | #else
|
---|
| 102 | typedef struct IDialEngineVtbl {
|
---|
| 103 | BEGIN_INTERFACE
|
---|
| 104 | HRESULT (WINAPI *QueryInterface)(IDialEngine *This,REFIID riid,void **ppvObject);
|
---|
| 105 | ULONG (WINAPI *AddRef)(IDialEngine *This);
|
---|
| 106 | ULONG (WINAPI *Release)(IDialEngine *This);
|
---|
| 107 | HRESULT (WINAPI *Initialize)(IDialEngine *This,LPCWSTR pwzConnectoid,IDialEventSink *pIDES);
|
---|
| 108 | HRESULT (WINAPI *GetProperty)(IDialEngine *This,LPCWSTR pwzProperty,LPWSTR pwzValue,DWORD dwBufSize);
|
---|
| 109 | HRESULT (WINAPI *SetProperty)(IDialEngine *This,LPCWSTR pwzProperty,LPCWSTR pwzValue);
|
---|
| 110 | HRESULT (WINAPI *Dial)(IDialEngine *This);
|
---|
| 111 | HRESULT (WINAPI *HangUp)(IDialEngine *This);
|
---|
| 112 | HRESULT (WINAPI *GetConnectedState)(IDialEngine *This,DWORD *pdwState);
|
---|
| 113 | HRESULT (WINAPI *GetConnectHandle)(IDialEngine *This,DWORD_PTR *pdwHandle);
|
---|
| 114 | END_INTERFACE
|
---|
| 115 | } IDialEngineVtbl;
|
---|
| 116 | struct IDialEngine {
|
---|
| 117 | CONST_VTBL struct IDialEngineVtbl *lpVtbl;
|
---|
| 118 | };
|
---|
| 119 | #ifdef COBJMACROS
|
---|
| 120 | #define IDialEngine_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 121 | #define IDialEngine_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 122 | #define IDialEngine_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 123 | #define IDialEngine_Initialize(This,pwzConnectoid,pIDES) (This)->lpVtbl->Initialize(This,pwzConnectoid,pIDES)
|
---|
| 124 | #define IDialEngine_GetProperty(This,pwzProperty,pwzValue,dwBufSize) (This)->lpVtbl->GetProperty(This,pwzProperty,pwzValue,dwBufSize)
|
---|
| 125 | #define IDialEngine_SetProperty(This,pwzProperty,pwzValue) (This)->lpVtbl->SetProperty(This,pwzProperty,pwzValue)
|
---|
| 126 | #define IDialEngine_Dial(This) (This)->lpVtbl->Dial(This)
|
---|
| 127 | #define IDialEngine_HangUp(This) (This)->lpVtbl->HangUp(This)
|
---|
| 128 | #define IDialEngine_GetConnectedState(This,pdwState) (This)->lpVtbl->GetConnectedState(This,pdwState)
|
---|
| 129 | #define IDialEngine_GetConnectHandle(This,pdwHandle) (This)->lpVtbl->GetConnectHandle(This,pdwHandle)
|
---|
| 130 | #endif
|
---|
| 131 | #endif
|
---|
| 132 | HRESULT WINAPI IDialEngine_Initialize_Proxy(IDialEngine *This,LPCWSTR pwzConnectoid,IDialEventSink *pIDES);
|
---|
| 133 | void __RPC_STUB IDialEngine_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 134 | HRESULT WINAPI IDialEngine_GetProperty_Proxy(IDialEngine *This,LPCWSTR pwzProperty,LPWSTR pwzValue,DWORD dwBufSize);
|
---|
| 135 | void __RPC_STUB IDialEngine_GetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 136 | HRESULT WINAPI IDialEngine_SetProperty_Proxy(IDialEngine *This,LPCWSTR pwzProperty,LPCWSTR pwzValue);
|
---|
| 137 | void __RPC_STUB IDialEngine_SetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 138 | HRESULT WINAPI IDialEngine_Dial_Proxy(IDialEngine *This);
|
---|
| 139 | void __RPC_STUB IDialEngine_Dial_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 140 | HRESULT WINAPI IDialEngine_HangUp_Proxy(IDialEngine *This);
|
---|
| 141 | void __RPC_STUB IDialEngine_HangUp_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 142 | HRESULT WINAPI IDialEngine_GetConnectedState_Proxy(IDialEngine *This,DWORD *pdwState);
|
---|
| 143 | void __RPC_STUB IDialEngine_GetConnectedState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 144 | HRESULT WINAPI IDialEngine_GetConnectHandle_Proxy(IDialEngine *This,DWORD_PTR *pdwHandle);
|
---|
| 145 | void __RPC_STUB IDialEngine_GetConnectHandle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 146 | #endif
|
---|
| 147 |
|
---|
| 148 | #ifndef __IDialBranding_INTERFACE_DEFINED__
|
---|
| 149 | #define __IDialBranding_INTERFACE_DEFINED__
|
---|
| 150 | EXTERN_C const IID IID_IDialBranding;
|
---|
| 151 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
| 152 | struct IDialBranding : public IUnknown {
|
---|
| 153 | public:
|
---|
| 154 | virtual HRESULT WINAPI Initialize(LPCWSTR pwzConnectoid) = 0;
|
---|
| 155 | virtual HRESULT WINAPI GetBitmap(DWORD dwIndex,HBITMAP *phBitmap) = 0;
|
---|
| 156 | };
|
---|
| 157 | #else
|
---|
| 158 | typedef struct IDialBrandingVtbl {
|
---|
| 159 | BEGIN_INTERFACE
|
---|
| 160 | HRESULT (WINAPI *QueryInterface)(IDialBranding *This,REFIID riid,void **ppvObject);
|
---|
| 161 | ULONG (WINAPI *AddRef)(IDialBranding *This);
|
---|
| 162 | ULONG (WINAPI *Release)(IDialBranding *This);
|
---|
| 163 | HRESULT (WINAPI *Initialize)(IDialBranding *This,LPCWSTR pwzConnectoid);
|
---|
| 164 | HRESULT (WINAPI *GetBitmap)(IDialBranding *This,DWORD dwIndex,HBITMAP *phBitmap);
|
---|
| 165 | END_INTERFACE
|
---|
| 166 | } IDialBrandingVtbl;
|
---|
| 167 | struct IDialBranding {
|
---|
| 168 | CONST_VTBL struct IDialBrandingVtbl *lpVtbl;
|
---|
| 169 | };
|
---|
| 170 | #ifdef COBJMACROS
|
---|
| 171 | #define IDialBranding_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 172 | #define IDialBranding_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 173 | #define IDialBranding_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 174 | #define IDialBranding_Initialize(This,pwzConnectoid) (This)->lpVtbl->Initialize(This,pwzConnectoid)
|
---|
| 175 | #define IDialBranding_GetBitmap(This,dwIndex,phBitmap) (This)->lpVtbl->GetBitmap(This,dwIndex,phBitmap)
|
---|
| 176 | #endif
|
---|
| 177 | #endif
|
---|
| 178 | HRESULT WINAPI IDialBranding_Initialize_Proxy(IDialBranding *This,LPCWSTR pwzConnectoid);
|
---|
| 179 | void __RPC_STUB IDialBranding_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 180 | HRESULT WINAPI IDialBranding_GetBitmap_Proxy(IDialBranding *This,DWORD dwIndex,HBITMAP *phBitmap);
|
---|
| 181 | void __RPC_STUB IDialBranding_GetBitmap_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 182 | #endif
|
---|
| 183 |
|
---|
| 184 | #define DIALPROP_USERNAME L"UserName"
|
---|
| 185 | #define DIALPROP_PASSWORD L"Password"
|
---|
| 186 | #define DIALPROP_DOMAIN L"Domain"
|
---|
| 187 | #define DIALPROP_SAVEPASSWORD L"SavePassword"
|
---|
| 188 | #define DIALPROP_REDIALCOUNT L"RedialCount"
|
---|
| 189 | #define DIALPROP_REDIALINTERVAL L"RedialInterval"
|
---|
| 190 | #define DIALPROP_PHONENUMBER L"PhoneNumber"
|
---|
| 191 | #define DIALPROP_LASTERROR L"LastError"
|
---|
| 192 | #define DIALPROP_RESOLVEDPHONE L"ResolvedPhone"
|
---|
| 193 |
|
---|
| 194 | #define DIALENG_OperationComplete 0x10000
|
---|
| 195 | #define DIALENG_RedialAttempt 0x10001
|
---|
| 196 | #define DIALENG_RedialWait 0x10002
|
---|
| 197 |
|
---|
| 198 | extern RPC_IF_HANDLE __MIDL_itf_iedial_0266_v0_0_c_ifspec;
|
---|
| 199 | extern RPC_IF_HANDLE __MIDL_itf_iedial_0266_v0_0_s_ifspec;
|
---|
| 200 |
|
---|
| 201 | ULONG __RPC_API HBITMAP_UserSize(ULONG *,ULONG,HBITMAP *);
|
---|
| 202 | unsigned char *__RPC_API HBITMAP_UserMarshal(ULONG *,unsigned char *,HBITMAP *);
|
---|
| 203 | unsigned char *__RPC_API HBITMAP_UserUnmarshal(ULONG *,unsigned char *,HBITMAP *);
|
---|
| 204 | void __RPC_API HBITMAP_UserFree(ULONG *,HBITMAP *);
|
---|
| 205 |
|
---|
| 206 | #ifdef __cplusplus
|
---|
| 207 | }
|
---|
| 208 | #endif
|
---|
| 209 | #endif
|
---|