Tapi3if.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:710k
- #ifndef __ITAddress2_INTERFACE_DEFINED__
- #define __ITAddress2_INTERFACE_DEFINED__
- /* interface ITAddress2 */
- /* [object][dual][helpstring][uuid] */
- EXTERN_C const IID IID_ITAddress2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("B0AE5D9B-BE51-46c9-B0F7-DFA8A22A8BC4")
- ITAddress2 : public ITAddress
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Phones(
- /* [retval][out] */ VARIANT *pPhones) = 0;
-
- virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePhones(
- /* [retval][out] */ IEnumPhone **ppEnumPhone) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPhoneFromTerminal(
- /* [in] */ ITTerminal *pTerminal,
- /* [retval][out] */ ITPhone **ppPhone) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PreferredPhones(
- /* [retval][out] */ VARIANT *pPhones) = 0;
-
- virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePreferredPhones(
- /* [retval][out] */ IEnumPhone **ppEnumPhone) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventFilter(
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [retval][out] */ VARIANT_BOOL *pEnable) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventFilter(
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [in] */ VARIANT_BOOL bEnable) = 0;
-
- virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE DeviceSpecific(
- /* [in] */ ITCallInfo *pCall,
- /* [in] */ BYTE *pParams,
- /* [in] */ DWORD dwSize) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeviceSpecificVariant(
- /* [in] */ ITCallInfo *pCall,
- /* [in] */ VARIANT varDevSpecificByteArray) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NegotiateExtVersion(
- /* [in] */ long lLowVersion,
- /* [in] */ long lHighVersion,
- /* [retval][out] */ long *plExtVersion) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITAddress2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITAddress2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITAddress2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITAddress2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ITAddress2 * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ITAddress2 * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ITAddress2 * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ITAddress2 * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
- ITAddress2 * This,
- /* [retval][out] */ ADDRESS_STATE *pAddressState);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AddressName )(
- ITAddress2 * This,
- /* [retval][out] */ BSTR *ppName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServiceProviderName )(
- ITAddress2 * This,
- /* [retval][out] */ BSTR *ppName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TAPIObject )(
- ITAddress2 * This,
- /* [retval][out] */ ITTAPI **ppTapiObject);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateCall )(
- ITAddress2 * This,
- /* [in] */ BSTR pDestAddress,
- /* [in] */ long lAddressType,
- /* [in] */ long lMediaTypes,
- /* [retval][out] */ ITBasicCallControl **ppCall);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Calls )(
- ITAddress2 * This,
- /* [retval][out] */ VARIANT *pVariant);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCalls )(
- ITAddress2 * This,
- /* [retval][out] */ IEnumCall **ppCallEnum);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DialableAddress )(
- ITAddress2 * This,
- /* [retval][out] */ BSTR *pDialableAddress);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateForwardInfoObject )(
- ITAddress2 * This,
- /* [retval][out] */ ITForwardInformation **ppForwardInfo);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Forward )(
- ITAddress2 * This,
- /* [in] */ ITForwardInformation *pForwardInfo,
- /* [in] */ ITBasicCallControl *pCall);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentForwardInfo )(
- ITAddress2 * This,
- /* [retval][out] */ ITForwardInformation **ppForwardInfo);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageWaiting )(
- ITAddress2 * This,
- /* [in] */ VARIANT_BOOL fMessageWaiting);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageWaiting )(
- ITAddress2 * This,
- /* [retval][out] */ VARIANT_BOOL *pfMessageWaiting);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DoNotDisturb )(
- ITAddress2 * This,
- /* [in] */ VARIANT_BOOL fDoNotDisturb);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DoNotDisturb )(
- ITAddress2 * This,
- /* [retval][out] */ VARIANT_BOOL *pfDoNotDisturb);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Phones )(
- ITAddress2 * This,
- /* [retval][out] */ VARIANT *pPhones);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePhones )(
- ITAddress2 * This,
- /* [retval][out] */ IEnumPhone **ppEnumPhone);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPhoneFromTerminal )(
- ITAddress2 * This,
- /* [in] */ ITTerminal *pTerminal,
- /* [retval][out] */ ITPhone **ppPhone);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PreferredPhones )(
- ITAddress2 * This,
- /* [retval][out] */ VARIANT *pPhones);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePreferredPhones )(
- ITAddress2 * This,
- /* [retval][out] */ IEnumPhone **ppEnumPhone);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventFilter )(
- ITAddress2 * This,
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [retval][out] */ VARIANT_BOOL *pEnable);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventFilter )(
- ITAddress2 * This,
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [in] */ VARIANT_BOOL bEnable);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *DeviceSpecific )(
- ITAddress2 * This,
- /* [in] */ ITCallInfo *pCall,
- /* [in] */ BYTE *pParams,
- /* [in] */ DWORD dwSize);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeviceSpecificVariant )(
- ITAddress2 * This,
- /* [in] */ ITCallInfo *pCall,
- /* [in] */ VARIANT varDevSpecificByteArray);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NegotiateExtVersion )(
- ITAddress2 * This,
- /* [in] */ long lLowVersion,
- /* [in] */ long lHighVersion,
- /* [retval][out] */ long *plExtVersion);
-
- END_INTERFACE
- } ITAddress2Vtbl;
- interface ITAddress2
- {
- CONST_VTBL struct ITAddress2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITAddress2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITAddress2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITAddress2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITAddress2_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ITAddress2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ITAddress2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ITAddress2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ITAddress2_get_State(This,pAddressState)
- (This)->lpVtbl -> get_State(This,pAddressState)
- #define ITAddress2_get_AddressName(This,ppName)
- (This)->lpVtbl -> get_AddressName(This,ppName)
- #define ITAddress2_get_ServiceProviderName(This,ppName)
- (This)->lpVtbl -> get_ServiceProviderName(This,ppName)
- #define ITAddress2_get_TAPIObject(This,ppTapiObject)
- (This)->lpVtbl -> get_TAPIObject(This,ppTapiObject)
- #define ITAddress2_CreateCall(This,pDestAddress,lAddressType,lMediaTypes,ppCall)
- (This)->lpVtbl -> CreateCall(This,pDestAddress,lAddressType,lMediaTypes,ppCall)
- #define ITAddress2_get_Calls(This,pVariant)
- (This)->lpVtbl -> get_Calls(This,pVariant)
- #define ITAddress2_EnumerateCalls(This,ppCallEnum)
- (This)->lpVtbl -> EnumerateCalls(This,ppCallEnum)
- #define ITAddress2_get_DialableAddress(This,pDialableAddress)
- (This)->lpVtbl -> get_DialableAddress(This,pDialableAddress)
- #define ITAddress2_CreateForwardInfoObject(This,ppForwardInfo)
- (This)->lpVtbl -> CreateForwardInfoObject(This,ppForwardInfo)
- #define ITAddress2_Forward(This,pForwardInfo,pCall)
- (This)->lpVtbl -> Forward(This,pForwardInfo,pCall)
- #define ITAddress2_get_CurrentForwardInfo(This,ppForwardInfo)
- (This)->lpVtbl -> get_CurrentForwardInfo(This,ppForwardInfo)
- #define ITAddress2_put_MessageWaiting(This,fMessageWaiting)
- (This)->lpVtbl -> put_MessageWaiting(This,fMessageWaiting)
- #define ITAddress2_get_MessageWaiting(This,pfMessageWaiting)
- (This)->lpVtbl -> get_MessageWaiting(This,pfMessageWaiting)
- #define ITAddress2_put_DoNotDisturb(This,fDoNotDisturb)
- (This)->lpVtbl -> put_DoNotDisturb(This,fDoNotDisturb)
- #define ITAddress2_get_DoNotDisturb(This,pfDoNotDisturb)
- (This)->lpVtbl -> get_DoNotDisturb(This,pfDoNotDisturb)
- #define ITAddress2_get_Phones(This,pPhones)
- (This)->lpVtbl -> get_Phones(This,pPhones)
- #define ITAddress2_EnumeratePhones(This,ppEnumPhone)
- (This)->lpVtbl -> EnumeratePhones(This,ppEnumPhone)
- #define ITAddress2_GetPhoneFromTerminal(This,pTerminal,ppPhone)
- (This)->lpVtbl -> GetPhoneFromTerminal(This,pTerminal,ppPhone)
- #define ITAddress2_get_PreferredPhones(This,pPhones)
- (This)->lpVtbl -> get_PreferredPhones(This,pPhones)
- #define ITAddress2_EnumeratePreferredPhones(This,ppEnumPhone)
- (This)->lpVtbl -> EnumeratePreferredPhones(This,ppEnumPhone)
- #define ITAddress2_get_EventFilter(This,TapiEvent,lSubEvent,pEnable)
- (This)->lpVtbl -> get_EventFilter(This,TapiEvent,lSubEvent,pEnable)
- #define ITAddress2_put_EventFilter(This,TapiEvent,lSubEvent,bEnable)
- (This)->lpVtbl -> put_EventFilter(This,TapiEvent,lSubEvent,bEnable)
- #define ITAddress2_DeviceSpecific(This,pCall,pParams,dwSize)
- (This)->lpVtbl -> DeviceSpecific(This,pCall,pParams,dwSize)
- #define ITAddress2_DeviceSpecificVariant(This,pCall,varDevSpecificByteArray)
- (This)->lpVtbl -> DeviceSpecificVariant(This,pCall,varDevSpecificByteArray)
- #define ITAddress2_NegotiateExtVersion(This,lLowVersion,lHighVersion,plExtVersion)
- (This)->lpVtbl -> NegotiateExtVersion(This,lLowVersion,lHighVersion,plExtVersion)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress2_get_Phones_Proxy(
- ITAddress2 * This,
- /* [retval][out] */ VARIANT *pPhones);
- void __RPC_STUB ITAddress2_get_Phones_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_EnumeratePhones_Proxy(
- ITAddress2 * This,
- /* [retval][out] */ IEnumPhone **ppEnumPhone);
- void __RPC_STUB ITAddress2_EnumeratePhones_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_GetPhoneFromTerminal_Proxy(
- ITAddress2 * This,
- /* [in] */ ITTerminal *pTerminal,
- /* [retval][out] */ ITPhone **ppPhone);
- void __RPC_STUB ITAddress2_GetPhoneFromTerminal_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress2_get_PreferredPhones_Proxy(
- ITAddress2 * This,
- /* [retval][out] */ VARIANT *pPhones);
- void __RPC_STUB ITAddress2_get_PreferredPhones_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_EnumeratePreferredPhones_Proxy(
- ITAddress2 * This,
- /* [retval][out] */ IEnumPhone **ppEnumPhone);
- void __RPC_STUB ITAddress2_EnumeratePreferredPhones_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress2_get_EventFilter_Proxy(
- ITAddress2 * This,
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [retval][out] */ VARIANT_BOOL *pEnable);
- void __RPC_STUB ITAddress2_get_EventFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAddress2_put_EventFilter_Proxy(
- ITAddress2 * This,
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [in] */ VARIANT_BOOL bEnable);
- void __RPC_STUB ITAddress2_put_EventFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_DeviceSpecific_Proxy(
- ITAddress2 * This,
- /* [in] */ ITCallInfo *pCall,
- /* [in] */ BYTE *pParams,
- /* [in] */ DWORD dwSize);
- void __RPC_STUB ITAddress2_DeviceSpecific_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_DeviceSpecificVariant_Proxy(
- ITAddress2 * This,
- /* [in] */ ITCallInfo *pCall,
- /* [in] */ VARIANT varDevSpecificByteArray);
- void __RPC_STUB ITAddress2_DeviceSpecificVariant_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_NegotiateExtVersion_Proxy(
- ITAddress2 * This,
- /* [in] */ long lLowVersion,
- /* [in] */ long lHighVersion,
- /* [retval][out] */ long *plExtVersion);
- void __RPC_STUB ITAddress2_NegotiateExtVersion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITAddress2_INTERFACE_DEFINED__ */
- #ifndef __ITAddressCapabilities_INTERFACE_DEFINED__
- #define __ITAddressCapabilities_INTERFACE_DEFINED__
- /* interface ITAddressCapabilities */
- /* [object][dual][helpstring][uuid] */
- EXTERN_C const IID IID_ITAddressCapabilities;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8DF232F5-821B-11d1-BB5C-00C04FB6809F")
- ITAddressCapabilities : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AddressCapability(
- /* [in] */ ADDRESS_CAPABILITY AddressCap,
- /* [retval][out] */ long *plCapability) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AddressCapabilityString(
- /* [in] */ ADDRESS_CAPABILITY_STRING AddressCapString,
- /* [retval][out] */ BSTR *ppCapabilityString) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallTreatments(
- /* [retval][out] */ VARIANT *pVariant) = 0;
-
- virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCallTreatments(
- /* [retval][out] */ IEnumBstr **ppEnumCallTreatment) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CompletionMessages(
- /* [retval][out] */ VARIANT *pVariant) = 0;
-
- virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCompletionMessages(
- /* [retval][out] */ IEnumBstr **ppEnumCompletionMessage) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceClasses(
- /* [retval][out] */ VARIANT *pVariant) = 0;
-
- virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateDeviceClasses(
- /* [retval][out] */ IEnumBstr **ppEnumDeviceClass) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITAddressCapabilitiesVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITAddressCapabilities * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITAddressCapabilities * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITAddressCapabilities * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ITAddressCapabilities * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ITAddressCapabilities * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ITAddressCapabilities * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ITAddressCapabilities * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AddressCapability )(
- ITAddressCapabilities * This,
- /* [in] */ ADDRESS_CAPABILITY AddressCap,
- /* [retval][out] */ long *plCapability);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AddressCapabilityString )(
- ITAddressCapabilities * This,
- /* [in] */ ADDRESS_CAPABILITY_STRING AddressCapString,
- /* [retval][out] */ BSTR *ppCapabilityString);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallTreatments )(
- ITAddressCapabilities * This,
- /* [retval][out] */ VARIANT *pVariant);
-
- /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCallTreatments )(
- ITAddressCapabilities * This,
- /* [retval][out] */ IEnumBstr **ppEnumCallTreatment);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CompletionMessages )(
- ITAddressCapabilities * This,
- /* [retval][out] */ VARIANT *pVariant);
-
- /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCompletionMessages )(
- ITAddressCapabilities * This,
- /* [retval][out] */ IEnumBstr **ppEnumCompletionMessage);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceClasses )(
- ITAddressCapabilities * This,
- /* [retval][out] */ VARIANT *pVariant);
-
- /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateDeviceClasses )(
- ITAddressCapabilities * This,
- /* [retval][out] */ IEnumBstr **ppEnumDeviceClass);
-
- END_INTERFACE
- } ITAddressCapabilitiesVtbl;
- interface ITAddressCapabilities
- {
- CONST_VTBL struct ITAddressCapabilitiesVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITAddressCapabilities_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITAddressCapabilities_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITAddressCapabilities_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITAddressCapabilities_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ITAddressCapabilities_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ITAddressCapabilities_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ITAddressCapabilities_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ITAddressCapabilities_get_AddressCapability(This,AddressCap,plCapability)
- (This)->lpVtbl -> get_AddressCapability(This,AddressCap,plCapability)
- #define ITAddressCapabilities_get_AddressCapabilityString(This,AddressCapString,ppCapabilityString)
- (This)->lpVtbl -> get_AddressCapabilityString(This,AddressCapString,ppCapabilityString)
- #define ITAddressCapabilities_get_CallTreatments(This,pVariant)
- (This)->lpVtbl -> get_CallTreatments(This,pVariant)
- #define ITAddressCapabilities_EnumerateCallTreatments(This,ppEnumCallTreatment)
- (This)->lpVtbl -> EnumerateCallTreatments(This,ppEnumCallTreatment)
- #define ITAddressCapabilities_get_CompletionMessages(This,pVariant)
- (This)->lpVtbl -> get_CompletionMessages(This,pVariant)
- #define ITAddressCapabilities_EnumerateCompletionMessages(This,ppEnumCompletionMessage)
- (This)->lpVtbl -> EnumerateCompletionMessages(This,ppEnumCompletionMessage)
- #define ITAddressCapabilities_get_DeviceClasses(This,pVariant)
- (This)->lpVtbl -> get_DeviceClasses(This,pVariant)
- #define ITAddressCapabilities_EnumerateDeviceClasses(This,ppEnumDeviceClass)
- (This)->lpVtbl -> EnumerateDeviceClasses(This,ppEnumDeviceClass)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_AddressCapability_Proxy(
- ITAddressCapabilities * This,
- /* [in] */ ADDRESS_CAPABILITY AddressCap,
- /* [retval][out] */ long *plCapability);
- void __RPC_STUB ITAddressCapabilities_get_AddressCapability_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_AddressCapabilityString_Proxy(
- ITAddressCapabilities * This,
- /* [in] */ ADDRESS_CAPABILITY_STRING AddressCapString,
- /* [retval][out] */ BSTR *ppCapabilityString);
- void __RPC_STUB ITAddressCapabilities_get_AddressCapabilityString_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_CallTreatments_Proxy(
- ITAddressCapabilities * This,
- /* [retval][out] */ VARIANT *pVariant);
- void __RPC_STUB ITAddressCapabilities_get_CallTreatments_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_EnumerateCallTreatments_Proxy(
- ITAddressCapabilities * This,
- /* [retval][out] */ IEnumBstr **ppEnumCallTreatment);
- void __RPC_STUB ITAddressCapabilities_EnumerateCallTreatments_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_CompletionMessages_Proxy(
- ITAddressCapabilities * This,
- /* [retval][out] */ VARIANT *pVariant);
- void __RPC_STUB ITAddressCapabilities_get_CompletionMessages_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_EnumerateCompletionMessages_Proxy(
- ITAddressCapabilities * This,
- /* [retval][out] */ IEnumBstr **ppEnumCompletionMessage);
- void __RPC_STUB ITAddressCapabilities_EnumerateCompletionMessages_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_DeviceClasses_Proxy(
- ITAddressCapabilities * This,
- /* [retval][out] */ VARIANT *pVariant);
- void __RPC_STUB ITAddressCapabilities_get_DeviceClasses_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_EnumerateDeviceClasses_Proxy(
- ITAddressCapabilities * This,
- /* [retval][out] */ IEnumBstr **ppEnumDeviceClass);
- void __RPC_STUB ITAddressCapabilities_EnumerateDeviceClasses_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITAddressCapabilities_INTERFACE_DEFINED__ */
- #ifndef __ITPhone_INTERFACE_DEFINED__
- #define __ITPhone_INTERFACE_DEFINED__
- /* interface ITPhone */
- /* [object][dual][helpstring][uuid] */
- EXTERN_C const IID IID_ITPhone;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("09D48DB4-10CC-4388-9DE7-A8465618975A")
- ITPhone : public IDispatch
- {
- public:
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Open(
- /* [in] */ PHONE_PRIVILEGE Privilege) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Addresses(
- /* [retval][out] */ VARIANT *pAddresses) = 0;
-
- virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateAddresses(
- /* [retval][out] */ IEnumAddress **ppEnumAddress) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PhoneCapsLong(
- /* [in] */ PHONECAPS_LONG pclCap,
- /* [retval][out] */ long *plCapability) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PhoneCapsString(
- /* [in] */ PHONECAPS_STRING pcsCap,
- /* [retval][out] */ BSTR *ppCapability) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminals(
- /* [in] */ ITAddress *pAddress,
- /* [retval][out] */ VARIANT *pTerminals) = 0;
-
- virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateTerminals(
- /* [in] */ ITAddress *pAddress,
- /* [retval][out] */ IEnumTerminal **ppEnumTerminal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonMode(
- /* [in] */ long lButtonID,
- /* [retval][out] */ PHONE_BUTTON_MODE *pButtonMode) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ButtonMode(
- /* [in] */ long lButtonID,
- /* [in] */ PHONE_BUTTON_MODE ButtonMode) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonFunction(
- /* [in] */ long lButtonID,
- /* [retval][out] */ PHONE_BUTTON_FUNCTION *pButtonFunction) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ButtonFunction(
- /* [in] */ long lButtonID,
- /* [in] */ PHONE_BUTTON_FUNCTION ButtonFunction) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonText(
- /* [in] */ long lButtonID,
- /* [retval][out] */ BSTR *ppButtonText) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ButtonText(
- /* [in] */ long lButtonID,
- /* [in] */ BSTR bstrButtonText) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonState(
- /* [in] */ long lButtonID,
- /* [retval][out] */ PHONE_BUTTON_STATE *pButtonState) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HookSwitchState(
- /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
- /* [retval][out] */ PHONE_HOOK_SWITCH_STATE *pHookSwitchState) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HookSwitchState(
- /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
- /* [in] */ PHONE_HOOK_SWITCH_STATE HookSwitchState) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RingMode(
- /* [in] */ long lRingMode) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RingMode(
- /* [retval][out] */ long *plRingMode) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RingVolume(
- /* [in] */ long lRingVolume) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RingVolume(
- /* [retval][out] */ long *plRingVolume) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Privilege(
- /* [retval][out] */ PHONE_PRIVILEGE *pPrivilege) = 0;
-
- virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE GetPhoneCapsBuffer(
- /* [in] */ PHONECAPS_BUFFER pcbCaps,
- /* [out] */ DWORD *pdwSize,
- /* [out] */ BYTE **ppPhoneCapsBuffer) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PhoneCapsBuffer(
- /* [in] */ PHONECAPS_BUFFER pcbCaps,
- /* [retval][out] */ VARIANT *pVarBuffer) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LampMode(
- /* [in] */ long lLampID,
- /* [retval][out] */ PHONE_LAMP_MODE *pLampMode) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LampMode(
- /* [in] */ long lLampID,
- /* [in] */ PHONE_LAMP_MODE LampMode) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Display(
- /* [retval][out] */ BSTR *pbstrDisplay) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetDisplay(
- /* [in] */ long lRow,
- /* [in] */ long lColumn,
- /* [in] */ BSTR bstrDisplay) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PreferredAddresses(
- /* [retval][out] */ VARIANT *pAddresses) = 0;
-
- virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePreferredAddresses(
- /* [retval][out] */ IEnumAddress **ppEnumAddress) = 0;
-
- virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE DeviceSpecific(
- /* [in] */ BYTE *pParams,
- /* [in] */ DWORD dwSize) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeviceSpecificVariant(
- /* [in] */ VARIANT varDevSpecificByteArray) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NegotiateExtVersion(
- /* [in] */ long lLowVersion,
- /* [in] */ long lHighVersion,
- /* [retval][out] */ long *plExtVersion) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITPhoneVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITPhone * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITPhone * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITPhone * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ITPhone * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ITPhone * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ITPhone * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ITPhone * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
- ITPhone * This,
- /* [in] */ PHONE_PRIVILEGE Privilege);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
- ITPhone * This);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Addresses )(
- ITPhone * This,
- /* [retval][out] */ VARIANT *pAddresses);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateAddresses )(
- ITPhone * This,
- /* [retval][out] */ IEnumAddress **ppEnumAddress);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhoneCapsLong )(
- ITPhone * This,
- /* [in] */ PHONECAPS_LONG pclCap,
- /* [retval][out] */ long *plCapability);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhoneCapsString )(
- ITPhone * This,
- /* [in] */ PHONECAPS_STRING pcsCap,
- /* [retval][out] */ BSTR *ppCapability);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminals )(
- ITPhone * This,
- /* [in] */ ITAddress *pAddress,
- /* [retval][out] */ VARIANT *pTerminals);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTerminals )(
- ITPhone * This,
- /* [in] */ ITAddress *pAddress,
- /* [retval][out] */ IEnumTerminal **ppEnumTerminal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonMode )(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [retval][out] */ PHONE_BUTTON_MODE *pButtonMode);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ButtonMode )(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [in] */ PHONE_BUTTON_MODE ButtonMode);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonFunction )(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [retval][out] */ PHONE_BUTTON_FUNCTION *pButtonFunction);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ButtonFunction )(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [in] */ PHONE_BUTTON_FUNCTION ButtonFunction);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonText )(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [retval][out] */ BSTR *ppButtonText);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ButtonText )(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [in] */ BSTR bstrButtonText);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonState )(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [retval][out] */ PHONE_BUTTON_STATE *pButtonState);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HookSwitchState )(
- ITPhone * This,
- /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
- /* [retval][out] */ PHONE_HOOK_SWITCH_STATE *pHookSwitchState);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HookSwitchState )(
- ITPhone * This,
- /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
- /* [in] */ PHONE_HOOK_SWITCH_STATE HookSwitchState);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RingMode )(
- ITPhone * This,
- /* [in] */ long lRingMode);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RingMode )(
- ITPhone * This,
- /* [retval][out] */ long *plRingMode);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RingVolume )(
- ITPhone * This,
- /* [in] */ long lRingVolume);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RingVolume )(
- ITPhone * This,
- /* [retval][out] */ long *plRingVolume);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Privilege )(
- ITPhone * This,
- /* [retval][out] */ PHONE_PRIVILEGE *pPrivilege);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetPhoneCapsBuffer )(
- ITPhone * This,
- /* [in] */ PHONECAPS_BUFFER pcbCaps,
- /* [out] */ DWORD *pdwSize,
- /* [out] */ BYTE **ppPhoneCapsBuffer);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhoneCapsBuffer )(
- ITPhone * This,
- /* [in] */ PHONECAPS_BUFFER pcbCaps,
- /* [retval][out] */ VARIANT *pVarBuffer);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LampMode )(
- ITPhone * This,
- /* [in] */ long lLampID,
- /* [retval][out] */ PHONE_LAMP_MODE *pLampMode);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LampMode )(
- ITPhone * This,
- /* [in] */ long lLampID,
- /* [in] */ PHONE_LAMP_MODE LampMode);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Display )(
- ITPhone * This,
- /* [retval][out] */ BSTR *pbstrDisplay);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetDisplay )(
- ITPhone * This,
- /* [in] */ long lRow,
- /* [in] */ long lColumn,
- /* [in] */ BSTR bstrDisplay);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PreferredAddresses )(
- ITPhone * This,
- /* [retval][out] */ VARIANT *pAddresses);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePreferredAddresses )(
- ITPhone * This,
- /* [retval][out] */ IEnumAddress **ppEnumAddress);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *DeviceSpecific )(
- ITPhone * This,
- /* [in] */ BYTE *pParams,
- /* [in] */ DWORD dwSize);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeviceSpecificVariant )(
- ITPhone * This,
- /* [in] */ VARIANT varDevSpecificByteArray);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NegotiateExtVersion )(
- ITPhone * This,
- /* [in] */ long lLowVersion,
- /* [in] */ long lHighVersion,
- /* [retval][out] */ long *plExtVersion);
-
- END_INTERFACE
- } ITPhoneVtbl;
- interface ITPhone
- {
- CONST_VTBL struct ITPhoneVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITPhone_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITPhone_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITPhone_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITPhone_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ITPhone_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ITPhone_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ITPhone_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ITPhone_Open(This,Privilege)
- (This)->lpVtbl -> Open(This,Privilege)
- #define ITPhone_Close(This)
- (This)->lpVtbl -> Close(This)
- #define ITPhone_get_Addresses(This,pAddresses)
- (This)->lpVtbl -> get_Addresses(This,pAddresses)
- #define ITPhone_EnumerateAddresses(This,ppEnumAddress)
- (This)->lpVtbl -> EnumerateAddresses(This,ppEnumAddress)
- #define ITPhone_get_PhoneCapsLong(This,pclCap,plCapability)
- (This)->lpVtbl -> get_PhoneCapsLong(This,pclCap,plCapability)
- #define ITPhone_get_PhoneCapsString(This,pcsCap,ppCapability)
- (This)->lpVtbl -> get_PhoneCapsString(This,pcsCap,ppCapability)
- #define ITPhone_get_Terminals(This,pAddress,pTerminals)
- (This)->lpVtbl -> get_Terminals(This,pAddress,pTerminals)
- #define ITPhone_EnumerateTerminals(This,pAddress,ppEnumTerminal)
- (This)->lpVtbl -> EnumerateTerminals(This,pAddress,ppEnumTerminal)
- #define ITPhone_get_ButtonMode(This,lButtonID,pButtonMode)
- (This)->lpVtbl -> get_ButtonMode(This,lButtonID,pButtonMode)
- #define ITPhone_put_ButtonMode(This,lButtonID,ButtonMode)
- (This)->lpVtbl -> put_ButtonMode(This,lButtonID,ButtonMode)
- #define ITPhone_get_ButtonFunction(This,lButtonID,pButtonFunction)
- (This)->lpVtbl -> get_ButtonFunction(This,lButtonID,pButtonFunction)
- #define ITPhone_put_ButtonFunction(This,lButtonID,ButtonFunction)
- (This)->lpVtbl -> put_ButtonFunction(This,lButtonID,ButtonFunction)
- #define ITPhone_get_ButtonText(This,lButtonID,ppButtonText)
- (This)->lpVtbl -> get_ButtonText(This,lButtonID,ppButtonText)
- #define ITPhone_put_ButtonText(This,lButtonID,bstrButtonText)
- (This)->lpVtbl -> put_ButtonText(This,lButtonID,bstrButtonText)
- #define ITPhone_get_ButtonState(This,lButtonID,pButtonState)
- (This)->lpVtbl -> get_ButtonState(This,lButtonID,pButtonState)
- #define ITPhone_get_HookSwitchState(This,HookSwitchDevice,pHookSwitchState)
- (This)->lpVtbl -> get_HookSwitchState(This,HookSwitchDevice,pHookSwitchState)
- #define ITPhone_put_HookSwitchState(This,HookSwitchDevice,HookSwitchState)
- (This)->lpVtbl -> put_HookSwitchState(This,HookSwitchDevice,HookSwitchState)
- #define ITPhone_put_RingMode(This,lRingMode)
- (This)->lpVtbl -> put_RingMode(This,lRingMode)
- #define ITPhone_get_RingMode(This,plRingMode)
- (This)->lpVtbl -> get_RingMode(This,plRingMode)
- #define ITPhone_put_RingVolume(This,lRingVolume)
- (This)->lpVtbl -> put_RingVolume(This,lRingVolume)
- #define ITPhone_get_RingVolume(This,plRingVolume)
- (This)->lpVtbl -> get_RingVolume(This,plRingVolume)
- #define ITPhone_get_Privilege(This,pPrivilege)
- (This)->lpVtbl -> get_Privilege(This,pPrivilege)
- #define ITPhone_GetPhoneCapsBuffer(This,pcbCaps,pdwSize,ppPhoneCapsBuffer)
- (This)->lpVtbl -> GetPhoneCapsBuffer(This,pcbCaps,pdwSize,ppPhoneCapsBuffer)
- #define ITPhone_get_PhoneCapsBuffer(This,pcbCaps,pVarBuffer)
- (This)->lpVtbl -> get_PhoneCapsBuffer(This,pcbCaps,pVarBuffer)
- #define ITPhone_get_LampMode(This,lLampID,pLampMode)
- (This)->lpVtbl -> get_LampMode(This,lLampID,pLampMode)
- #define ITPhone_put_LampMode(This,lLampID,LampMode)
- (This)->lpVtbl -> put_LampMode(This,lLampID,LampMode)
- #define ITPhone_get_Display(This,pbstrDisplay)
- (This)->lpVtbl -> get_Display(This,pbstrDisplay)
- #define ITPhone_SetDisplay(This,lRow,lColumn,bstrDisplay)
- (This)->lpVtbl -> SetDisplay(This,lRow,lColumn,bstrDisplay)
- #define ITPhone_get_PreferredAddresses(This,pAddresses)
- (This)->lpVtbl -> get_PreferredAddresses(This,pAddresses)
- #define ITPhone_EnumeratePreferredAddresses(This,ppEnumAddress)
- (This)->lpVtbl -> EnumeratePreferredAddresses(This,ppEnumAddress)
- #define ITPhone_DeviceSpecific(This,pParams,dwSize)
- (This)->lpVtbl -> DeviceSpecific(This,pParams,dwSize)
- #define ITPhone_DeviceSpecificVariant(This,varDevSpecificByteArray)
- (This)->lpVtbl -> DeviceSpecificVariant(This,varDevSpecificByteArray)
- #define ITPhone_NegotiateExtVersion(This,lLowVersion,lHighVersion,plExtVersion)
- (This)->lpVtbl -> NegotiateExtVersion(This,lLowVersion,lHighVersion,plExtVersion)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_Open_Proxy(
- ITPhone * This,
- /* [in] */ PHONE_PRIVILEGE Privilege);
- void __RPC_STUB ITPhone_Open_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_Close_Proxy(
- ITPhone * This);
- void __RPC_STUB ITPhone_Close_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_Addresses_Proxy(
- ITPhone * This,
- /* [retval][out] */ VARIANT *pAddresses);
- void __RPC_STUB ITPhone_get_Addresses_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_EnumerateAddresses_Proxy(
- ITPhone * This,
- /* [retval][out] */ IEnumAddress **ppEnumAddress);
- void __RPC_STUB ITPhone_EnumerateAddresses_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_PhoneCapsLong_Proxy(
- ITPhone * This,
- /* [in] */ PHONECAPS_LONG pclCap,
- /* [retval][out] */ long *plCapability);
- void __RPC_STUB ITPhone_get_PhoneCapsLong_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_PhoneCapsString_Proxy(
- ITPhone * This,
- /* [in] */ PHONECAPS_STRING pcsCap,
- /* [retval][out] */ BSTR *ppCapability);
- void __RPC_STUB ITPhone_get_PhoneCapsString_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_Terminals_Proxy(
- ITPhone * This,
- /* [in] */ ITAddress *pAddress,
- /* [retval][out] */ VARIANT *pTerminals);
- void __RPC_STUB ITPhone_get_Terminals_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_EnumerateTerminals_Proxy(
- ITPhone * This,
- /* [in] */ ITAddress *pAddress,
- /* [retval][out] */ IEnumTerminal **ppEnumTerminal);
- void __RPC_STUB ITPhone_EnumerateTerminals_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_ButtonMode_Proxy(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [retval][out] */ PHONE_BUTTON_MODE *pButtonMode);
- void __RPC_STUB ITPhone_get_ButtonMode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_ButtonMode_Proxy(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [in] */ PHONE_BUTTON_MODE ButtonMode);
- void __RPC_STUB ITPhone_put_ButtonMode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_ButtonFunction_Proxy(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [retval][out] */ PHONE_BUTTON_FUNCTION *pButtonFunction);
- void __RPC_STUB ITPhone_get_ButtonFunction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_ButtonFunction_Proxy(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [in] */ PHONE_BUTTON_FUNCTION ButtonFunction);
- void __RPC_STUB ITPhone_put_ButtonFunction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_ButtonText_Proxy(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [retval][out] */ BSTR *ppButtonText);
- void __RPC_STUB ITPhone_get_ButtonText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_ButtonText_Proxy(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [in] */ BSTR bstrButtonText);
- void __RPC_STUB ITPhone_put_ButtonText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_ButtonState_Proxy(
- ITPhone * This,
- /* [in] */ long lButtonID,
- /* [retval][out] */ PHONE_BUTTON_STATE *pButtonState);
- void __RPC_STUB ITPhone_get_ButtonState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_HookSwitchState_Proxy(
- ITPhone * This,
- /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
- /* [retval][out] */ PHONE_HOOK_SWITCH_STATE *pHookSwitchState);
- void __RPC_STUB ITPhone_get_HookSwitchState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_HookSwitchState_Proxy(
- ITPhone * This,
- /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
- /* [in] */ PHONE_HOOK_SWITCH_STATE HookSwitchState);
- void __RPC_STUB ITPhone_put_HookSwitchState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_RingMode_Proxy(
- ITPhone * This,
- /* [in] */ long lRingMode);
- void __RPC_STUB ITPhone_put_RingMode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_RingMode_Proxy(
- ITPhone * This,
- /* [retval][out] */ long *plRingMode);
- void __RPC_STUB ITPhone_get_RingMode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_RingVolume_Proxy(
- ITPhone * This,
- /* [in] */ long lRingVolume);
- void __RPC_STUB ITPhone_put_RingVolume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_RingVolume_Proxy(
- ITPhone * This,
- /* [retval][out] */ long *plRingVolume);
- void __RPC_STUB ITPhone_get_RingVolume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_Privilege_Proxy(
- ITPhone * This,
- /* [retval][out] */ PHONE_PRIVILEGE *pPrivilege);
- void __RPC_STUB ITPhone_get_Privilege_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_GetPhoneCapsBuffer_Proxy(
- ITPhone * This,
- /* [in] */ PHONECAPS_BUFFER pcbCaps,
- /* [out] */ DWORD *pdwSize,
- /* [out] */ BYTE **ppPhoneCapsBuffer);
- void __RPC_STUB ITPhone_GetPhoneCapsBuffer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_PhoneCapsBuffer_Proxy(
- ITPhone * This,
- /* [in] */ PHONECAPS_BUFFER pcbCaps,
- /* [retval][out] */ VARIANT *pVarBuffer);
- void __RPC_STUB ITPhone_get_PhoneCapsBuffer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_LampMode_Proxy(
- ITPhone * This,
- /* [in] */ long lLampID,
- /* [retval][out] */ PHONE_LAMP_MODE *pLampMode);
- void __RPC_STUB ITPhone_get_LampMode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_LampMode_Proxy(
- ITPhone * This,
- /* [in] */ long lLampID,
- /* [in] */ PHONE_LAMP_MODE LampMode);
- void __RPC_STUB ITPhone_put_LampMode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_Display_Proxy(
- ITPhone * This,
- /* [retval][out] */ BSTR *pbstrDisplay);
- void __RPC_STUB ITPhone_get_Display_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_SetDisplay_Proxy(
- ITPhone * This,
- /* [in] */ long lRow,
- /* [in] */ long lColumn,
- /* [in] */ BSTR bstrDisplay);
- void __RPC_STUB ITPhone_SetDisplay_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_PreferredAddresses_Proxy(
- ITPhone * This,
- /* [retval][out] */ VARIANT *pAddresses);
- void __RPC_STUB ITPhone_get_PreferredAddresses_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_EnumeratePreferredAddresses_Proxy(
- ITPhone * This,
- /* [retval][out] */ IEnumAddress **ppEnumAddress);
- void __RPC_STUB ITPhone_EnumeratePreferredAddresses_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_DeviceSpecific_Proxy(
- ITPhone * This,
- /* [in] */ BYTE *pParams,
- /* [in] */ DWORD dwSize);
- void __RPC_STUB ITPhone_DeviceSpecific_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_DeviceSpecificVariant_Proxy(
- ITPhone * This,
- /* [in] */ VARIANT varDevSpecificByteArray);
- void __RPC_STUB ITPhone_DeviceSpecificVariant_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_NegotiateExtVersion_Proxy(
- ITPhone * This,
- /* [in] */ long lLowVersion,
- /* [in] */ long lHighVersion,
- /* [retval][out] */ long *plExtVersion);
- void __RPC_STUB ITPhone_NegotiateExtVersion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITPhone_INTERFACE_DEFINED__ */
- #ifndef __ITAutomatedPhoneControl_INTERFACE_DEFINED__
- #define __ITAutomatedPhoneControl_INTERFACE_DEFINED__
- /* interface ITAutomatedPhoneControl */
- /* [object][dual][helpstring][uuid] */
- EXTERN_C const IID IID_ITAutomatedPhoneControl;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("1EE1AF0E-6159-4a61-B79B-6A4BA3FC9DFC")
- ITAutomatedPhoneControl : public IDispatch
- {
- public:
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartTone(
- /* [in] */ PHONE_TONE Tone,
- /* [in] */ long lDuration) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopTone( void) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Tone(
- /* [retval][out] */ PHONE_TONE *pTone) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartRinger(
- /* [in] */ long lRingMode,
- /* [in] */ long lDuration) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopRinger( void) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Ringer(
- /* [retval][out] */ VARIANT_BOOL *pfRinging) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PhoneHandlingEnabled(
- /* [in] */ VARIANT_BOOL fEnabled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PhoneHandlingEnabled(
- /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoEndOfNumberTimeout(
- /* [in] */ long lTimeout) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoEndOfNumberTimeout(
- /* [retval][out] */ long *plTimeout) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoDialtone(
- /* [in] */ VARIANT_BOOL fEnabled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoDialtone(
- /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoStopTonesOnOnHook(
- /* [in] */ VARIANT_BOOL fEnabled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoStopTonesOnOnHook(
- /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoStopRingOnOffHook(
- /* [in] */ VARIANT_BOOL fEnabled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoStopRingOnOffHook(
- /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoKeypadTones(
- /* [in] */ VARIANT_BOOL fEnabled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoKeypadTones(
- /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoKeypadTonesMinimumDuration(
- /* [in] */ long lDuration) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoKeypadTonesMinimumDuration(
- /* [retval][out] */ long *plDuration) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoVolumeControl(
- /* [in] */ VARIANT_BOOL fEnabled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoVolumeControl(
- /* [retval][out] */ VARIANT_BOOL *fEnabled) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoVolumeControlStep(
- /* [in] */ long lStepSize) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoVolumeControlStep(
- /* [retval][out] */ long *plStepSize) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoVolumeControlRepeatDelay(
- /* [in] */ long lDelay) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoVolumeControlRepeatDelay(
- /* [retval][out] */ long *plDelay) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoVolumeControlRepeatPeriod(
- /* [in] */ long lPeriod) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoVolumeControlRepeatPeriod(
- /* [retval][out] */ long *plPeriod) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectCall(
- /* [in] */ ITCallInfo *pCall,
- /* [in] */ VARIANT_BOOL fSelectDefaultTerminals) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnselectCall(
- /* [in] */ ITCallInfo *pCall) = 0;
-
- virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateSelectedCalls(
- /* [retval][out] */ IEnumCall **ppCallEnum) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SelectedCalls(
- /* [retval][out] */ VARIANT *pVariant) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITAutomatedPhoneControlVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITAutomatedPhoneControl * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITAutomatedPhoneControl * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITAutomatedPhoneControl * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ITAutomatedPhoneControl * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ITAutomatedPhoneControl * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ITAutomatedPhoneControl * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ITAutomatedPhoneControl * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartTone )(
- ITAutomatedPhoneControl * This,
- /* [in] */ PHONE_TONE Tone,
- /* [in] */ long lDuration);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopTone )(
- ITAutomatedPhoneControl * This);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Tone )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ PHONE_TONE *pTone);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartRinger )(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lRingMode,
- /* [in] */ long lDuration);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopRinger )(
- ITAutomatedPhoneControl * This);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Ringer )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfRinging);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PhoneHandlingEnabled )(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhoneHandlingEnabled )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoEndOfNumberTimeout )(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lTimeout);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoEndOfNumberTimeout )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plTimeout);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoDialtone )(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoDialtone )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoStopTonesOnOnHook )(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoStopTonesOnOnHook )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoStopRingOnOffHook )(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoStopRingOnOffHook )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoKeypadTones )(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoKeypadTones )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoKeypadTonesMinimumDuration )(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lDuration);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoKeypadTonesMinimumDuration )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plDuration);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoVolumeControl )(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoVolumeControl )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *fEnabled);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoVolumeControlStep )(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lStepSize);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoVolumeControlStep )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plStepSize);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoVolumeControlRepeatDelay )(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lDelay);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoVolumeControlRepeatDelay )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plDelay);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoVolumeControlRepeatPeriod )(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lPeriod);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoVolumeControlRepeatPeriod )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plPeriod);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectCall )(
- ITAutomatedPhoneControl * This,
- /* [in] */ ITCallInfo *pCall,
- /* [in] */ VARIANT_BOOL fSelectDefaultTerminals);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnselectCall )(
- ITAutomatedPhoneControl * This,
- /* [in] */ ITCallInfo *pCall);
-
- /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateSelectedCalls )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ IEnumCall **ppCallEnum);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SelectedCalls )(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT *pVariant);
-
- END_INTERFACE
- } ITAutomatedPhoneControlVtbl;
- interface ITAutomatedPhoneControl
- {
- CONST_VTBL struct ITAutomatedPhoneControlVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITAutomatedPhoneControl_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITAutomatedPhoneControl_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITAutomatedPhoneControl_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITAutomatedPhoneControl_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ITAutomatedPhoneControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ITAutomatedPhoneControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ITAutomatedPhoneControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ITAutomatedPhoneControl_StartTone(This,Tone,lDuration)
- (This)->lpVtbl -> StartTone(This,Tone,lDuration)
- #define ITAutomatedPhoneControl_StopTone(This)
- (This)->lpVtbl -> StopTone(This)
- #define ITAutomatedPhoneControl_get_Tone(This,pTone)
- (This)->lpVtbl -> get_Tone(This,pTone)
- #define ITAutomatedPhoneControl_StartRinger(This,lRingMode,lDuration)
- (This)->lpVtbl -> StartRinger(This,lRingMode,lDuration)
- #define ITAutomatedPhoneControl_StopRinger(This)
- (This)->lpVtbl -> StopRinger(This)
- #define ITAutomatedPhoneControl_get_Ringer(This,pfRinging)
- (This)->lpVtbl -> get_Ringer(This,pfRinging)
- #define ITAutomatedPhoneControl_put_PhoneHandlingEnabled(This,fEnabled)
- (This)->lpVtbl -> put_PhoneHandlingEnabled(This,fEnabled)
- #define ITAutomatedPhoneControl_get_PhoneHandlingEnabled(This,pfEnabled)
- (This)->lpVtbl -> get_PhoneHandlingEnabled(This,pfEnabled)
- #define ITAutomatedPhoneControl_put_AutoEndOfNumberTimeout(This,lTimeout)
- (This)->lpVtbl -> put_AutoEndOfNumberTimeout(This,lTimeout)
- #define ITAutomatedPhoneControl_get_AutoEndOfNumberTimeout(This,plTimeout)
- (This)->lpVtbl -> get_AutoEndOfNumberTimeout(This,plTimeout)
- #define ITAutomatedPhoneControl_put_AutoDialtone(This,fEnabled)
- (This)->lpVtbl -> put_AutoDialtone(This,fEnabled)
- #define ITAutomatedPhoneControl_get_AutoDialtone(This,pfEnabled)
- (This)->lpVtbl -> get_AutoDialtone(This,pfEnabled)
- #define ITAutomatedPhoneControl_put_AutoStopTonesOnOnHook(This,fEnabled)
- (This)->lpVtbl -> put_AutoStopTonesOnOnHook(This,fEnabled)
- #define ITAutomatedPhoneControl_get_AutoStopTonesOnOnHook(This,pfEnabled)
- (This)->lpVtbl -> get_AutoStopTonesOnOnHook(This,pfEnabled)
- #define ITAutomatedPhoneControl_put_AutoStopRingOnOffHook(This,fEnabled)
- (This)->lpVtbl -> put_AutoStopRingOnOffHook(This,fEnabled)
- #define ITAutomatedPhoneControl_get_AutoStopRingOnOffHook(This,pfEnabled)
- (This)->lpVtbl -> get_AutoStopRingOnOffHook(This,pfEnabled)
- #define ITAutomatedPhoneControl_put_AutoKeypadTones(This,fEnabled)
- (This)->lpVtbl -> put_AutoKeypadTones(This,fEnabled)
- #define ITAutomatedPhoneControl_get_AutoKeypadTones(This,pfEnabled)
- (This)->lpVtbl -> get_AutoKeypadTones(This,pfEnabled)
- #define ITAutomatedPhoneControl_put_AutoKeypadTonesMinimumDuration(This,lDuration)
- (This)->lpVtbl -> put_AutoKeypadTonesMinimumDuration(This,lDuration)
- #define ITAutomatedPhoneControl_get_AutoKeypadTonesMinimumDuration(This,plDuration)
- (This)->lpVtbl -> get_AutoKeypadTonesMinimumDuration(This,plDuration)
- #define ITAutomatedPhoneControl_put_AutoVolumeControl(This,fEnabled)
- (This)->lpVtbl -> put_AutoVolumeControl(This,fEnabled)
- #define ITAutomatedPhoneControl_get_AutoVolumeControl(This,fEnabled)
- (This)->lpVtbl -> get_AutoVolumeControl(This,fEnabled)
- #define ITAutomatedPhoneControl_put_AutoVolumeControlStep(This,lStepSize)
- (This)->lpVtbl -> put_AutoVolumeControlStep(This,lStepSize)
- #define ITAutomatedPhoneControl_get_AutoVolumeControlStep(This,plStepSize)
- (This)->lpVtbl -> get_AutoVolumeControlStep(This,plStepSize)
- #define ITAutomatedPhoneControl_put_AutoVolumeControlRepeatDelay(This,lDelay)
- (This)->lpVtbl -> put_AutoVolumeControlRepeatDelay(This,lDelay)
- #define ITAutomatedPhoneControl_get_AutoVolumeControlRepeatDelay(This,plDelay)
- (This)->lpVtbl -> get_AutoVolumeControlRepeatDelay(This,plDelay)
- #define ITAutomatedPhoneControl_put_AutoVolumeControlRepeatPeriod(This,lPeriod)
- (This)->lpVtbl -> put_AutoVolumeControlRepeatPeriod(This,lPeriod)
- #define ITAutomatedPhoneControl_get_AutoVolumeControlRepeatPeriod(This,plPeriod)
- (This)->lpVtbl -> get_AutoVolumeControlRepeatPeriod(This,plPeriod)
- #define ITAutomatedPhoneControl_SelectCall(This,pCall,fSelectDefaultTerminals)
- (This)->lpVtbl -> SelectCall(This,pCall,fSelectDefaultTerminals)
- #define ITAutomatedPhoneControl_UnselectCall(This,pCall)
- (This)->lpVtbl -> UnselectCall(This,pCall)
- #define ITAutomatedPhoneControl_EnumerateSelectedCalls(This,ppCallEnum)
- (This)->lpVtbl -> EnumerateSelectedCalls(This,ppCallEnum)
- #define ITAutomatedPhoneControl_get_SelectedCalls(This,pVariant)
- (This)->lpVtbl -> get_SelectedCalls(This,pVariant)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_StartTone_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ PHONE_TONE Tone,
- /* [in] */ long lDuration);
- void __RPC_STUB ITAutomatedPhoneControl_StartTone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_StopTone_Proxy(
- ITAutomatedPhoneControl * This);
- void __RPC_STUB ITAutomatedPhoneControl_StopTone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_Tone_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ PHONE_TONE *pTone);
- void __RPC_STUB ITAutomatedPhoneControl_get_Tone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_StartRinger_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lRingMode,
- /* [in] */ long lDuration);
- void __RPC_STUB ITAutomatedPhoneControl_StartRinger_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_StopRinger_Proxy(
- ITAutomatedPhoneControl * This);
- void __RPC_STUB ITAutomatedPhoneControl_StopRinger_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_Ringer_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfRinging);
- void __RPC_STUB ITAutomatedPhoneControl_get_Ringer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_PhoneHandlingEnabled_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_put_PhoneHandlingEnabled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_PhoneHandlingEnabled_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_get_PhoneHandlingEnabled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoEndOfNumberTimeout_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lTimeout);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoEndOfNumberTimeout_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoEndOfNumberTimeout_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plTimeout);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoEndOfNumberTimeout_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoDialtone_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoDialtone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoDialtone_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoDialtone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoStopTonesOnOnHook_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoStopTonesOnOnHook_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoStopTonesOnOnHook_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoStopTonesOnOnHook_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoStopRingOnOffHook_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoStopRingOnOffHook_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoStopRingOnOffHook_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoStopRingOnOffHook_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoKeypadTones_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoKeypadTones_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoKeypadTones_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *pfEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoKeypadTones_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoKeypadTonesMinimumDuration_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lDuration);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoKeypadTonesMinimumDuration_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoKeypadTonesMinimumDuration_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plDuration);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoKeypadTonesMinimumDuration_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoVolumeControl_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ VARIANT_BOOL fEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoVolumeControl_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoVolumeControl_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT_BOOL *fEnabled);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoVolumeControl_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoVolumeControlStep_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lStepSize);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoVolumeControlStep_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoVolumeControlStep_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plStepSize);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoVolumeControlStep_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoVolumeControlRepeatDelay_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lDelay);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoVolumeControlRepeatDelay_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoVolumeControlRepeatDelay_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plDelay);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoVolumeControlRepeatDelay_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoVolumeControlRepeatPeriod_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ long lPeriod);
- void __RPC_STUB ITAutomatedPhoneControl_put_AutoVolumeControlRepeatPeriod_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoVolumeControlRepeatPeriod_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ long *plPeriod);
- void __RPC_STUB ITAutomatedPhoneControl_get_AutoVolumeControlRepeatPeriod_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_SelectCall_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ ITCallInfo *pCall,
- /* [in] */ VARIANT_BOOL fSelectDefaultTerminals);
- void __RPC_STUB ITAutomatedPhoneControl_SelectCall_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_UnselectCall_Proxy(
- ITAutomatedPhoneControl * This,
- /* [in] */ ITCallInfo *pCall);
- void __RPC_STUB ITAutomatedPhoneControl_UnselectCall_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_EnumerateSelectedCalls_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ IEnumCall **ppCallEnum);
- void __RPC_STUB ITAutomatedPhoneControl_EnumerateSelectedCalls_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_SelectedCalls_Proxy(
- ITAutomatedPhoneControl * This,
- /* [retval][out] */ VARIANT *pVariant);
- void __RPC_STUB ITAutomatedPhoneControl_get_SelectedCalls_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITAutomatedPhoneControl_INTERFACE_DEFINED__ */
- #ifndef __ITBasicCallControl_INTERFACE_DEFINED__
- #define __ITBasicCallControl_INTERFACE_DEFINED__
- /* interface ITBasicCallControl */
- /* [object][dual][helpstring][uuid] */
- EXTERN_C const IID IID_ITBasicCallControl;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("B1EFC389-9355-11d0-835C-00AA003CCABD")
- ITBasicCallControl : public IDispatch
- {
- public:
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Connect(
- /* [in] */ VARIANT_BOOL fSync) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Answer( void) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disconnect(
- /* [in] */ DISCONNECT_CODE code) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Hold(
- /* [in] */ VARIANT_BOOL fHold) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HandoffDirect(
- /* [in] */ BSTR pApplicationName) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HandoffIndirect(
- /* [in] */ long lMediaType) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Conference(
- /* [in] */ ITBasicCallControl *pCall,
- /* [in] */ VARIANT_BOOL fSync) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Transfer(
- /* [in] */ ITBasicCallControl *pCall,
- /* [in] */ VARIANT_BOOL fSync) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BlindTransfer(
- /* [in] */ BSTR pDestAddress) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SwapHold(
- /* [in] */ ITBasicCallControl *pCall) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ParkDirect(
- /* [in] */ BSTR pParkAddress) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ParkIndirect(
- /* [retval][out] */ BSTR *ppNonDirAddress) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Unpark( void) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetQOS(
- /* [in] */ long lMediaType,
- /* [in] */ QOS_SERVICE_LEVEL ServiceLevel) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Pickup(
- /* [in] */ BSTR pGroupID) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Dial(
- /* [in] */ BSTR pDestAddress) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Finish(
- /* [in] */ FINISH_MODE finishMode) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveFromConference( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITBasicCallControlVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITBasicCallControl * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITBasicCallControl * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITBasicCallControl * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ITBasicCallControl * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ITBasicCallControl * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ITBasicCallControl * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ITBasicCallControl * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )(
- ITBasicCallControl * This,
- /* [in] */ VARIANT_BOOL fSync);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Answer )(
- ITBasicCallControl * This);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
- ITBasicCallControl * This,
- /* [in] */ DISCONNECT_CODE code);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Hold )(
- ITBasicCallControl * This,
- /* [in] */ VARIANT_BOOL fHold);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HandoffDirect )(
- ITBasicCallControl * This,
- /* [in] */ BSTR pApplicationName);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HandoffIndirect )(
- ITBasicCallControl * This,
- /* [in] */ long lMediaType);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Conference )(
- ITBasicCallControl * This,
- /* [in] */ ITBasicCallControl *pCall,
- /* [in] */ VARIANT_BOOL fSync);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Transfer )(
- ITBasicCallControl * This,
- /* [in] */ ITBasicCallControl *pCall,
- /* [in] */ VARIANT_BOOL fSync);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BlindTransfer )(
- ITBasicCallControl * This,
- /* [in] */ BSTR pDestAddress);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SwapHold )(
- ITBasicCallControl * This,
- /* [in] */ ITBasicCallControl *pCall);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ParkDirect )(
- ITBasicCallControl * This,
- /* [in] */ BSTR pParkAddress);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ParkIndirect )(
- ITBasicCallControl * This,
- /* [retval][out] */ BSTR *ppNonDirAddress);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Unpark )(
- ITBasicCallControl * This);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetQOS )(
- ITBasicCallControl * This,
- /* [in] */ long lMediaType,
- /* [in] */ QOS_SERVICE_LEVEL ServiceLevel);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Pickup )(
- ITBasicCallControl * This,
- /* [in] */ BSTR pGroupID);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Dial )(
- ITBasicCallControl * This,
- /* [in] */ BSTR pDestAddress);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Finish )(
- ITBasicCallControl * This,
- /* [in] */ FINISH_MODE finishMode);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveFromConference )(
- ITBasicCallControl * This);
-
- END_INTERFACE
- } ITBasicCallControlVtbl;
- interface ITBasicCallControl
- {
- CONST_VTBL struct ITBasicCallControlVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITBasicCallControl_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITBasicCallControl_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITBasicCallControl_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITBasicCallControl_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ITBasicCallControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ITBasicCallControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ITBasicCallControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ITBasicCallControl_Connect(This,fSync)
- (This)->lpVtbl -> Connect(This,fSync)
- #define ITBasicCallControl_Answer(This)
- (This)->lpVtbl -> Answer(This)
- #define ITBasicCallControl_Disconnect(This,code)
- (This)->lpVtbl -> Disconnect(This,code)
- #define ITBasicCallControl_Hold(This,fHold)
- (This)->lpVtbl -> Hold(This,fHold)
- #define ITBasicCallControl_HandoffDirect(This,pApplicationName)
- (This)->lpVtbl -> HandoffDirect(This,pApplicationName)
- #define ITBasicCallControl_HandoffIndirect(This,lMediaType)
- (This)->lpVtbl -> HandoffIndirect(This,lMediaType)
- #define ITBasicCallControl_Conference(This,pCall,fSync)
- (This)->lpVtbl -> Conference(This,pCall,fSync)
- #define ITBasicCallControl_Transfer(This,pCall,fSync)
- (This)->lpVtbl -> Transfer(This,pCall,fSync)
- #define ITBasicCallControl_BlindTransfer(This,pDestAddress)
- (This)->lpVtbl -> BlindTransfer(This,pDestAddress)
- #define ITBasicCallControl_SwapHold(This,pCall)
- (This)->lpVtbl -> SwapHold(This,pCall)
- #define ITBasicCallControl_ParkDirect(This,pParkAddress)
- (This)->lpVtbl -> ParkDirect(This,pParkAddress)
- #define ITBasicCallControl_ParkIndirect(This,ppNonDirAddress)
- (This)->lpVtbl -> ParkIndirect(This,ppNonDirAddress)
- #define ITBasicCallControl_Unpark(This)
- (This)->lpVtbl -> Unpark(This)
- #define ITBasicCallControl_SetQOS(This,lMediaType,ServiceLevel)
- (This)->lpVtbl -> SetQOS(This,lMediaType,ServiceLevel)
- #define ITBasicCallControl_Pickup(This,pGroupID)
- (This)->lpVtbl -> Pickup(This,pGroupID)
- #define ITBasicCallControl_Dial(This,pDestAddress)
- (This)->lpVtbl -> Dial(This,pDestAddress)
- #define ITBasicCallControl_Finish(This,finishMode)
- (This)->lpVtbl -> Finish(This,finishMode)
- #define ITBasicCallControl_RemoveFromConference(This)
- (This)->lpVtbl -> RemoveFromConference(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Connect_Proxy(
- ITBasicCallControl * This,
- /* [in] */ VARIANT_BOOL fSync);
- void __RPC_STUB ITBasicCallControl_Connect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Answer_Proxy(
- ITBasicCallControl * This);
- void __RPC_STUB ITBasicCallControl_Answer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Disconnect_Proxy(
- ITBasicCallControl * This,
- /* [in] */ DISCONNECT_CODE code);
- void __RPC_STUB ITBasicCallControl_Disconnect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Hold_Proxy(
- ITBasicCallControl * This,
- /* [in] */ VARIANT_BOOL fHold);
- void __RPC_STUB ITBasicCallControl_Hold_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_HandoffDirect_Proxy(
- ITBasicCallControl * This,
- /* [in] */ BSTR pApplicationName);
- void __RPC_STUB ITBasicCallControl_HandoffDirect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_HandoffIndirect_Proxy(
- ITBasicCallControl * This,
- /* [in] */ long lMediaType);
- void __RPC_STUB ITBasicCallControl_HandoffIndirect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Conference_Proxy(
- ITBasicCallControl * This,
- /* [in] */ ITBasicCallControl *pCall,
- /* [in] */ VARIANT_BOOL fSync);
- void __RPC_STUB ITBasicCallControl_Conference_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Transfer_Proxy(
- ITBasicCallControl * This,
- /* [in] */ ITBasicCallControl *pCall,
- /* [in] */ VARIANT_BOOL fSync);
- void __RPC_STUB ITBasicCallControl_Transfer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_BlindTransfer_Proxy(
- ITBasicCallControl * This,
- /* [in] */ BSTR pDestAddress);
- void __RPC_STUB ITBasicCallControl_BlindTransfer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_SwapHold_Proxy(
- ITBasicCallControl * This,
- /* [in] */ ITBasicCallControl *pCall);
- void __RPC_STUB ITBasicCallControl_SwapHold_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_ParkDirect_Proxy(
- ITBasicCallControl * This,
- /* [in] */ BSTR pParkAddress);
- void __RPC_STUB ITBasicCallControl_ParkDirect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_ParkIndirect_Proxy(
- ITBasicCallControl * This,
- /* [retval][out] */ BSTR *ppNonDirAddress);
- void __RPC_STUB ITBasicCallControl_ParkIndirect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Unpark_Proxy(
- ITBasicCallControl * This);
- void __RPC_STUB ITBasicCallControl_Unpark_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_SetQOS_Proxy(
- ITBasicCallControl * This,
- /* [in] */ long lMediaType,
- /* [in] */ QOS_SERVICE_LEVEL ServiceLevel);
- void __RPC_STUB ITBasicCallControl_SetQOS_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Pickup_Proxy(
- ITBasicCallControl * This,
- /* [in] */ BSTR pGroupID);
- void __RPC_STUB ITBasicCallControl_Pickup_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Dial_Proxy(
- ITBasicCallControl * This,
- /* [in] */ BSTR pDestAddress);
- void __RPC_STUB ITBasicCallControl_Dial_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Finish_Proxy(
- ITBasicCallControl * This,
- /* [in] */ FINISH_MODE finishMode);
- void __RPC_STUB ITBasicCallControl_Finish_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_RemoveFromConference_Proxy(
- ITBasicCallControl * This);
- void __RPC_STUB ITBasicCallControl_RemoveFromConference_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITBasicCallControl_INTERFACE_DEFINED__ */
- #ifndef __ITCallInfo_INTERFACE_DEFINED__
- #define __ITCallInfo_INTERFACE_DEFINED__
- /* interface ITCallInfo */
- /* [object][dual][helpstring][uuid] */
- EXTERN_C const IID IID_ITCallInfo;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("350F85D1-1227-11D3-83D4-00C04FB6809F")
- ITCallInfo : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address(
- /* [retval][out] */ ITAddress **ppAddress) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallState(
- /* [retval][out] */ CALL_STATE *pCallState) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Privilege(
- /* [retval][out] */ CALL_PRIVILEGE *pPrivilege) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallHub(
- /* [retval][out] */ ITCallHub **ppCallHub) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallInfoLong(
- /* [in] */ CALLINFO_LONG CallInfoLong,
- /* [retval][out] */ long *plCallInfoLongVal) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CallInfoLong(
- /* [in] */ CALLINFO_LONG CallInfoLong,
- /* [in] */ long lCallInfoLongVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallInfoString(
- /* [in] */ CALLINFO_STRING CallInfoString,
- /* [retval][out] */ BSTR *ppCallInfoString) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CallInfoString(
- /* [in] */ CALLINFO_STRING CallInfoString,
- /* [in] */ BSTR pCallInfoString) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallInfoBuffer(
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [retval][out] */ VARIANT *ppCallInfoBuffer) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CallInfoBuffer(
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [in] */ VARIANT pCallInfoBuffer) = 0;
-
- virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetCallInfoBuffer(
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [out] */ DWORD *pdwSize,
- /* [size_is][size_is][out] */ BYTE **ppCallInfoBuffer) = 0;
-
- virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE SetCallInfoBuffer(
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [in] */ DWORD dwSize,
- /* [size_is][in] */ BYTE *pCallInfoBuffer) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReleaseUserUserInfo( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITCallInfoVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITCallInfo * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITCallInfo * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITCallInfo * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ITCallInfo * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ITCallInfo * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ITCallInfo * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ITCallInfo * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
- ITCallInfo * This,
- /* [retval][out] */ ITAddress **ppAddress);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallState )(
- ITCallInfo * This,
- /* [retval][out] */ CALL_STATE *pCallState);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Privilege )(
- ITCallInfo * This,
- /* [retval][out] */ CALL_PRIVILEGE *pPrivilege);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHub )(
- ITCallInfo * This,
- /* [retval][out] */ ITCallHub **ppCallHub);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoLong )(
- ITCallInfo * This,
- /* [in] */ CALLINFO_LONG CallInfoLong,
- /* [retval][out] */ long *plCallInfoLongVal);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoLong )(
- ITCallInfo * This,
- /* [in] */ CALLINFO_LONG CallInfoLong,
- /* [in] */ long lCallInfoLongVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoString )(
- ITCallInfo * This,
- /* [in] */ CALLINFO_STRING CallInfoString,
- /* [retval][out] */ BSTR *ppCallInfoString);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoString )(
- ITCallInfo * This,
- /* [in] */ CALLINFO_STRING CallInfoString,
- /* [in] */ BSTR pCallInfoString);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoBuffer )(
- ITCallInfo * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [retval][out] */ VARIANT *ppCallInfoBuffer);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoBuffer )(
- ITCallInfo * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [in] */ VARIANT pCallInfoBuffer);
-
- /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetCallInfoBuffer )(
- ITCallInfo * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [out] */ DWORD *pdwSize,
- /* [size_is][size_is][out] */ BYTE **ppCallInfoBuffer);
-
- /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *SetCallInfoBuffer )(
- ITCallInfo * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [in] */ DWORD dwSize,
- /* [size_is][in] */ BYTE *pCallInfoBuffer);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReleaseUserUserInfo )(
- ITCallInfo * This);
-
- END_INTERFACE
- } ITCallInfoVtbl;
- interface ITCallInfo
- {
- CONST_VTBL struct ITCallInfoVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ITCallInfo_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ITCallInfo_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ITCallInfo_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ITCallInfo_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define ITCallInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define ITCallInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define ITCallInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define ITCallInfo_get_Address(This,ppAddress)
- (This)->lpVtbl -> get_Address(This,ppAddress)
- #define ITCallInfo_get_CallState(This,pCallState)
- (This)->lpVtbl -> get_CallState(This,pCallState)
- #define ITCallInfo_get_Privilege(This,pPrivilege)
- (This)->lpVtbl -> get_Privilege(This,pPrivilege)
- #define ITCallInfo_get_CallHub(This,ppCallHub)
- (This)->lpVtbl -> get_CallHub(This,ppCallHub)
- #define ITCallInfo_get_CallInfoLong(This,CallInfoLong,plCallInfoLongVal)
- (This)->lpVtbl -> get_CallInfoLong(This,CallInfoLong,plCallInfoLongVal)
- #define ITCallInfo_put_CallInfoLong(This,CallInfoLong,lCallInfoLongVal)
- (This)->lpVtbl -> put_CallInfoLong(This,CallInfoLong,lCallInfoLongVal)
- #define ITCallInfo_get_CallInfoString(This,CallInfoString,ppCallInfoString)
- (This)->lpVtbl -> get_CallInfoString(This,CallInfoString,ppCallInfoString)
- #define ITCallInfo_put_CallInfoString(This,CallInfoString,pCallInfoString)
- (This)->lpVtbl -> put_CallInfoString(This,CallInfoString,pCallInfoString)
- #define ITCallInfo_get_CallInfoBuffer(This,CallInfoBuffer,ppCallInfoBuffer)
- (This)->lpVtbl -> get_CallInfoBuffer(This,CallInfoBuffer,ppCallInfoBuffer)
- #define ITCallInfo_put_CallInfoBuffer(This,CallInfoBuffer,pCallInfoBuffer)
- (This)->lpVtbl -> put_CallInfoBuffer(This,CallInfoBuffer,pCallInfoBuffer)
- #define ITCallInfo_GetCallInfoBuffer(This,CallInfoBuffer,pdwSize,ppCallInfoBuffer)
- (This)->lpVtbl -> GetCallInfoBuffer(This,CallInfoBuffer,pdwSize,ppCallInfoBuffer)
- #define ITCallInfo_SetCallInfoBuffer(This,CallInfoBuffer,dwSize,pCallInfoBuffer)
- (This)->lpVtbl -> SetCallInfoBuffer(This,CallInfoBuffer,dwSize,pCallInfoBuffer)
- #define ITCallInfo_ReleaseUserUserInfo(This)
- (This)->lpVtbl -> ReleaseUserUserInfo(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_Address_Proxy(
- ITCallInfo * This,
- /* [retval][out] */ ITAddress **ppAddress);
- void __RPC_STUB ITCallInfo_get_Address_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallState_Proxy(
- ITCallInfo * This,
- /* [retval][out] */ CALL_STATE *pCallState);
- void __RPC_STUB ITCallInfo_get_CallState_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_Privilege_Proxy(
- ITCallInfo * This,
- /* [retval][out] */ CALL_PRIVILEGE *pPrivilege);
- void __RPC_STUB ITCallInfo_get_Privilege_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallHub_Proxy(
- ITCallInfo * This,
- /* [retval][out] */ ITCallHub **ppCallHub);
- void __RPC_STUB ITCallInfo_get_CallHub_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallInfoLong_Proxy(
- ITCallInfo * This,
- /* [in] */ CALLINFO_LONG CallInfoLong,
- /* [retval][out] */ long *plCallInfoLongVal);
- void __RPC_STUB ITCallInfo_get_CallInfoLong_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCallInfo_put_CallInfoLong_Proxy(
- ITCallInfo * This,
- /* [in] */ CALLINFO_LONG CallInfoLong,
- /* [in] */ long lCallInfoLongVal);
- void __RPC_STUB ITCallInfo_put_CallInfoLong_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallInfoString_Proxy(
- ITCallInfo * This,
- /* [in] */ CALLINFO_STRING CallInfoString,
- /* [retval][out] */ BSTR *ppCallInfoString);
- void __RPC_STUB ITCallInfo_get_CallInfoString_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCallInfo_put_CallInfoString_Proxy(
- ITCallInfo * This,
- /* [in] */ CALLINFO_STRING CallInfoString,
- /* [in] */ BSTR pCallInfoString);
- void __RPC_STUB ITCallInfo_put_CallInfoString_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallInfoBuffer_Proxy(
- ITCallInfo * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [retval][out] */ VARIANT *ppCallInfoBuffer);
- void __RPC_STUB ITCallInfo_get_CallInfoBuffer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCallInfo_put_CallInfoBuffer_Proxy(
- ITCallInfo * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [in] */ VARIANT pCallInfoBuffer);
- void __RPC_STUB ITCallInfo_put_CallInfoBuffer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITCallInfo_GetCallInfoBuffer_Proxy(
- ITCallInfo * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [out] */ DWORD *pdwSize,
- /* [size_is][size_is][out] */ BYTE **ppCallInfoBuffer);
- void __RPC_STUB ITCallInfo_GetCallInfoBuffer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITCallInfo_SetCallInfoBuffer_Proxy(
- ITCallInfo * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [in] */ DWORD dwSize,
- /* [size_is][in] */ BYTE *pCallInfoBuffer);
- void __RPC_STUB ITCallInfo_SetCallInfoBuffer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITCallInfo_ReleaseUserUserInfo_Proxy(
- ITCallInfo * This);
- void __RPC_STUB ITCallInfo_ReleaseUserUserInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ITCallInfo_INTERFACE_DEFINED__ */
- #ifndef __ITCallInfo2_INTERFACE_DEFINED__
- #define __ITCallInfo2_INTERFACE_DEFINED__
- /* interface ITCallInfo2 */
- /* [object][dual][helpstring][uuid] */
- EXTERN_C const IID IID_ITCallInfo2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("94D70CA6-7AB0-4daa-81CA-B8F8643FAEC1")
- ITCallInfo2 : public ITCallInfo
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventFilter(
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [retval][out] */ VARIANT_BOOL *pEnable) = 0;
-
- virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventFilter(
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [in] */ VARIANT_BOOL bEnable) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ITCallInfo2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ITCallInfo2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ITCallInfo2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ITCallInfo2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- ITCallInfo2 * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- ITCallInfo2 * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- ITCallInfo2 * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- ITCallInfo2 * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
- ITCallInfo2 * This,
- /* [retval][out] */ ITAddress **ppAddress);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallState )(
- ITCallInfo2 * This,
- /* [retval][out] */ CALL_STATE *pCallState);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Privilege )(
- ITCallInfo2 * This,
- /* [retval][out] */ CALL_PRIVILEGE *pPrivilege);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHub )(
- ITCallInfo2 * This,
- /* [retval][out] */ ITCallHub **ppCallHub);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoLong )(
- ITCallInfo2 * This,
- /* [in] */ CALLINFO_LONG CallInfoLong,
- /* [retval][out] */ long *plCallInfoLongVal);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoLong )(
- ITCallInfo2 * This,
- /* [in] */ CALLINFO_LONG CallInfoLong,
- /* [in] */ long lCallInfoLongVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoString )(
- ITCallInfo2 * This,
- /* [in] */ CALLINFO_STRING CallInfoString,
- /* [retval][out] */ BSTR *ppCallInfoString);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoString )(
- ITCallInfo2 * This,
- /* [in] */ CALLINFO_STRING CallInfoString,
- /* [in] */ BSTR pCallInfoString);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoBuffer )(
- ITCallInfo2 * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [retval][out] */ VARIANT *ppCallInfoBuffer);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoBuffer )(
- ITCallInfo2 * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [in] */ VARIANT pCallInfoBuffer);
-
- /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetCallInfoBuffer )(
- ITCallInfo2 * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [out] */ DWORD *pdwSize,
- /* [size_is][size_is][out] */ BYTE **ppCallInfoBuffer);
-
- /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *SetCallInfoBuffer )(
- ITCallInfo2 * This,
- /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
- /* [in] */ DWORD dwSize,
- /* [size_is][in] */ BYTE *pCallInfoBuffer);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReleaseUserUserInfo )(
- ITCallInfo2 * This);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventFilter )(
- ITCallInfo2 * This,
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [retval][out] */ VARIANT_BOOL *pEnable);
-
- /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventFilter )(
- ITCallInfo2 * This,
- /* [in] */ TAPI_EVENT TapiEvent,
- /* [in] */ long lSubEvent,
- /* [in] */ VARIANT_BOOL bEnable);
-
- END_INTERFACE
- } ITCallInfo2Vtbl;