#define global IID_IDiscFormat2RawCD "{27354155-8F64-5B0F-8F00-5D77AFBE261E}"
#usecom global IDiscFormat2RawCD IID_IDiscFormat2RawCD "{}"
#comfunc global IDiscFormat2RawCD_PrepareMedia 12
#comfunc global IDiscFormat2RawCD_WriteMedia 13 sptr
#comfunc global IDiscFormat2RawCD_WriteMedia2 14 sptr,int
#comfunc global IDiscFormat2RawCD_CancelWrite 15
#comfunc global IDiscFormat2RawCD_ReleaseMedia 16
#comfunc global IDiscFormat2RawCD_SetWriteSpeed 17 int,int
#comfunc global IDiscFormat2RawCD_put_Recorder 18 sptr
#comfunc global IDiscFormat2RawCD_get_Recorder 19 sptr
#comfunc global IDiscFormat2RawCD_put_BufferUnderrunFreeDisabled 20 int
#comfunc global IDiscFormat2RawCD_get_BufferUnderrunFreeDisabled 21 var
#comfunc global IDiscFormat2RawCD_get_StartOfNextSession 22 var
#comfunc global IDiscFormat2RawCD_get_LastPossibleStartOfLeadout 23 var
#comfunc global IDiscFormat2RawCD_get_CurrentPhysicalMediaType 24 var
#comfunc global IDiscFormat2RawCD_get_SupportedSectorTypes 25 var
#comfunc global IDiscFormat2RawCD_put_RequestedSectorType 26 int
#comfunc global IDiscFormat2RawCD_get_RequestedSectorType 27 var
#comfunc global IDiscFormat2RawCD_put_ClientName 28 wstr
#comfunc global IDiscFormat2RawCD_get_ClientName 29 var
#comfunc global IDiscFormat2RawCD_get_RequestedWriteSpeed 30 var
#comfunc global IDiscFormat2RawCD_get_RequestedRotationTypeIsPureCAV 31 var
#comfunc global IDiscFormat2RawCD_get_CurrentWriteSpeed 32 var
#comfunc global IDiscFormat2RawCD_get_CurrentRotationTypeIsPureCAV 33 var
#comfunc global IDiscFormat2RawCD_get_SupportedWriteSpeeds 34 var
#comfunc global IDiscFormat2RawCD_get_SupportedWriteSpeedDescriptors 35 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IDiscFormat2RawCD "{27354155-8F64-5B0F-8F00-5D77AFBE261E}"
#usecom global IDiscFormat2RawCD IID_IDiscFormat2RawCD "{}"
#comfunc global IDiscFormat2RawCD_PrepareMedia 12
#comfunc global IDiscFormat2RawCD_WriteMedia 13 sptr
#comfunc global IDiscFormat2RawCD_WriteMedia2 14 sptr,int
#comfunc global IDiscFormat2RawCD_CancelWrite 15
#comfunc global IDiscFormat2RawCD_ReleaseMedia 16
#comfunc global IDiscFormat2RawCD_SetWriteSpeed 17 int,int
#comfunc global IDiscFormat2RawCD_put_Recorder 18 sptr
#comfunc global IDiscFormat2RawCD_get_Recorder 19 sptr
#comfunc global IDiscFormat2RawCD_put_BufferUnderrunFreeDisabled 20 int
#comfunc global IDiscFormat2RawCD_get_BufferUnderrunFreeDisabled 21 sptr
#comfunc global IDiscFormat2RawCD_get_StartOfNextSession 22 sptr
#comfunc global IDiscFormat2RawCD_get_LastPossibleStartOfLeadout 23 sptr
#comfunc global IDiscFormat2RawCD_get_CurrentPhysicalMediaType 24 sptr
#comfunc global IDiscFormat2RawCD_get_SupportedSectorTypes 25 sptr
#comfunc global IDiscFormat2RawCD_put_RequestedSectorType 26 int
#comfunc global IDiscFormat2RawCD_get_RequestedSectorType 27 sptr
#comfunc global IDiscFormat2RawCD_put_ClientName 28 wstr
#comfunc global IDiscFormat2RawCD_get_ClientName 29 sptr
#comfunc global IDiscFormat2RawCD_get_RequestedWriteSpeed 30 sptr
#comfunc global IDiscFormat2RawCD_get_RequestedRotationTypeIsPureCAV 31 sptr
#comfunc global IDiscFormat2RawCD_get_CurrentWriteSpeed 32 sptr
#comfunc global IDiscFormat2RawCD_get_CurrentRotationTypeIsPureCAV 33 sptr
#comfunc global IDiscFormat2RawCD_get_SupportedWriteSpeeds 34 sptr
#comfunc global IDiscFormat2RawCD_get_SupportedWriteSpeedDescriptors 35 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。