#define global IID_IWriteEngine2 "{27354135-7F64-5B0F-8F00-5D77AFBE261E}"
#usecom global IWriteEngine2 IID_IWriteEngine2 "{}"
#comfunc global IWriteEngine2_WriteSection 7 sptr,int,int
#comfunc global IWriteEngine2_CancelWrite 8
#comfunc global IWriteEngine2_put_Recorder 9 sptr
#comfunc global IWriteEngine2_get_Recorder 10 sptr
#comfunc global IWriteEngine2_put_UseStreamingWrite12 11 int
#comfunc global IWriteEngine2_get_UseStreamingWrite12 12 var
#comfunc global IWriteEngine2_put_StartingSectorsPerSecond 13 int
#comfunc global IWriteEngine2_get_StartingSectorsPerSecond 14 var
#comfunc global IWriteEngine2_put_EndingSectorsPerSecond 15 int
#comfunc global IWriteEngine2_get_EndingSectorsPerSecond 16 var
#comfunc global IWriteEngine2_put_BytesPerSector 17 int
#comfunc global IWriteEngine2_get_BytesPerSector 18 var
#comfunc global IWriteEngine2_get_WriteInProgress 19 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IWriteEngine2 "{27354135-7F64-5B0F-8F00-5D77AFBE261E}"
#usecom global IWriteEngine2 IID_IWriteEngine2 "{}"
#comfunc global IWriteEngine2_WriteSection 7 sptr,int,int
#comfunc global IWriteEngine2_CancelWrite 8
#comfunc global IWriteEngine2_put_Recorder 9 sptr
#comfunc global IWriteEngine2_get_Recorder 10 sptr
#comfunc global IWriteEngine2_put_UseStreamingWrite12 11 int
#comfunc global IWriteEngine2_get_UseStreamingWrite12 12 sptr
#comfunc global IWriteEngine2_put_StartingSectorsPerSecond 13 int
#comfunc global IWriteEngine2_get_StartingSectorsPerSecond 14 sptr
#comfunc global IWriteEngine2_put_EndingSectorsPerSecond 15 int
#comfunc global IWriteEngine2_get_EndingSectorsPerSecond 16 sptr
#comfunc global IWriteEngine2_put_BytesPerSector 17 int
#comfunc global IWriteEngine2_get_BytesPerSector 18 sptr
#comfunc global IWriteEngine2_get_WriteInProgress 19 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。