#define global IID_IFaxDevice "{49306C59-B52E-4867-9DF4-CA5841C956D0}"
#usecom global IFaxDevice IID_IFaxDevice "{}"
#comfunc global IFaxDevice_get_Id 7 var
#comfunc global IFaxDevice_get_DeviceName 8 var
#comfunc global IFaxDevice_get_ProviderUniqueName 9 var
#comfunc global IFaxDevice_get_PoweredOff 10 var
#comfunc global IFaxDevice_get_ReceivingNow 11 var
#comfunc global IFaxDevice_get_SendingNow 12 var
#comfunc global IFaxDevice_get_UsedRoutingMethods 13 var
#comfunc global IFaxDevice_get_Description 14 var
#comfunc global IFaxDevice_put_Description 15 wstr
#comfunc global IFaxDevice_get_SendEnabled 16 var
#comfunc global IFaxDevice_put_SendEnabled 17 int
#comfunc global IFaxDevice_get_ReceiveMode 18 var
#comfunc global IFaxDevice_put_ReceiveMode 19 int
#comfunc global IFaxDevice_get_RingsBeforeAnswer 20 var
#comfunc global IFaxDevice_put_RingsBeforeAnswer 21 int
#comfunc global IFaxDevice_get_CSID 22 var
#comfunc global IFaxDevice_put_CSID 23 wstr
#comfunc global IFaxDevice_get_TSID 24 var
#comfunc global IFaxDevice_put_TSID 25 wstr
#comfunc global IFaxDevice_Refresh 26
#comfunc global IFaxDevice_Save 27
#comfunc global IFaxDevice_GetExtensionProperty 28 wstr,var
#comfunc global IFaxDevice_SetExtensionProperty 29 wstr,int
#comfunc global IFaxDevice_UseRoutingMethod 30 wstr,int
#comfunc global IFaxDevice_get_RingingNow 31 var
#comfunc global IFaxDevice_AnswerCall 32
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IFaxDevice "{49306C59-B52E-4867-9DF4-CA5841C956D0}"
#usecom global IFaxDevice IID_IFaxDevice "{}"
#comfunc global IFaxDevice_get_Id 7 sptr
#comfunc global IFaxDevice_get_DeviceName 8 sptr
#comfunc global IFaxDevice_get_ProviderUniqueName 9 sptr
#comfunc global IFaxDevice_get_PoweredOff 10 sptr
#comfunc global IFaxDevice_get_ReceivingNow 11 sptr
#comfunc global IFaxDevice_get_SendingNow 12 sptr
#comfunc global IFaxDevice_get_UsedRoutingMethods 13 sptr
#comfunc global IFaxDevice_get_Description 14 sptr
#comfunc global IFaxDevice_put_Description 15 wstr
#comfunc global IFaxDevice_get_SendEnabled 16 sptr
#comfunc global IFaxDevice_put_SendEnabled 17 int
#comfunc global IFaxDevice_get_ReceiveMode 18 sptr
#comfunc global IFaxDevice_put_ReceiveMode 19 int
#comfunc global IFaxDevice_get_RingsBeforeAnswer 20 sptr
#comfunc global IFaxDevice_put_RingsBeforeAnswer 21 int
#comfunc global IFaxDevice_get_CSID 22 sptr
#comfunc global IFaxDevice_put_CSID 23 wstr
#comfunc global IFaxDevice_get_TSID 24 sptr
#comfunc global IFaxDevice_put_TSID 25 wstr
#comfunc global IFaxDevice_Refresh 26
#comfunc global IFaxDevice_Save 27
#comfunc global IFaxDevice_GetExtensionProperty 28 wstr,sptr
#comfunc global IFaxDevice_SetExtensionProperty 29 wstr,int
#comfunc global IFaxDevice_UseRoutingMethod 30 wstr,int
#comfunc global IFaxDevice_get_RingingNow 31 sptr
#comfunc global IFaxDevice_AnswerCall 32
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。