#define global IID_IDiscFormat2Data "{27354153-9F64-5B0F-8F00-5D77AFBE261E}"
#usecom global IDiscFormat2Data IID_IDiscFormat2Data "{}"
#comfunc global IDiscFormat2Data_put_Recorder 12 sptr
#comfunc global IDiscFormat2Data_get_Recorder 13 sptr
#comfunc global IDiscFormat2Data_put_BufferUnderrunFreeDisabled 14 int
#comfunc global IDiscFormat2Data_get_BufferUnderrunFreeDisabled 15 var
#comfunc global IDiscFormat2Data_put_PostgapAlreadyInImage 16 int
#comfunc global IDiscFormat2Data_get_PostgapAlreadyInImage 17 var
#comfunc global IDiscFormat2Data_get_CurrentMediaStatus 18 var
#comfunc global IDiscFormat2Data_get_WriteProtectStatus 19 var
#comfunc global IDiscFormat2Data_get_TotalSectorsOnMedia 20 var
#comfunc global IDiscFormat2Data_get_FreeSectorsOnMedia 21 var
#comfunc global IDiscFormat2Data_get_NextWritableAddress 22 var
#comfunc global IDiscFormat2Data_get_StartAddressOfPreviousSession 23 var
#comfunc global IDiscFormat2Data_get_LastWrittenAddressOfPreviousSession 24 var
#comfunc global IDiscFormat2Data_put_ForceMediaToBeClosed 25 int
#comfunc global IDiscFormat2Data_get_ForceMediaToBeClosed 26 var
#comfunc global IDiscFormat2Data_put_DisableConsumerDvdCompatibilityMode 27 int
#comfunc global IDiscFormat2Data_get_DisableConsumerDvdCompatibilityMode 28 var
#comfunc global IDiscFormat2Data_get_CurrentPhysicalMediaType 29 var
#comfunc global IDiscFormat2Data_put_ClientName 30 wstr
#comfunc global IDiscFormat2Data_get_ClientName 31 var
#comfunc global IDiscFormat2Data_get_RequestedWriteSpeed 32 var
#comfunc global IDiscFormat2Data_get_RequestedRotationTypeIsPureCAV 33 var
#comfunc global IDiscFormat2Data_get_CurrentWriteSpeed 34 var
#comfunc global IDiscFormat2Data_get_CurrentRotationTypeIsPureCAV 35 var
#comfunc global IDiscFormat2Data_get_SupportedWriteSpeeds 36 var
#comfunc global IDiscFormat2Data_get_SupportedWriteSpeedDescriptors 37 var
#comfunc global IDiscFormat2Data_put_ForceOverwrite 38 int
#comfunc global IDiscFormat2Data_get_ForceOverwrite 39 var
#comfunc global IDiscFormat2Data_get_MultisessionInterfaces 40 var
#comfunc global IDiscFormat2Data_Write 41 sptr
#comfunc global IDiscFormat2Data_CancelWrite 42
#comfunc global IDiscFormat2Data_SetWriteSpeed 43 int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IDiscFormat2Data "{27354153-9F64-5B0F-8F00-5D77AFBE261E}"
#usecom global IDiscFormat2Data IID_IDiscFormat2Data "{}"
#comfunc global IDiscFormat2Data_put_Recorder 12 sptr
#comfunc global IDiscFormat2Data_get_Recorder 13 sptr
#comfunc global IDiscFormat2Data_put_BufferUnderrunFreeDisabled 14 int
#comfunc global IDiscFormat2Data_get_BufferUnderrunFreeDisabled 15 sptr
#comfunc global IDiscFormat2Data_put_PostgapAlreadyInImage 16 int
#comfunc global IDiscFormat2Data_get_PostgapAlreadyInImage 17 sptr
#comfunc global IDiscFormat2Data_get_CurrentMediaStatus 18 sptr
#comfunc global IDiscFormat2Data_get_WriteProtectStatus 19 sptr
#comfunc global IDiscFormat2Data_get_TotalSectorsOnMedia 20 sptr
#comfunc global IDiscFormat2Data_get_FreeSectorsOnMedia 21 sptr
#comfunc global IDiscFormat2Data_get_NextWritableAddress 22 sptr
#comfunc global IDiscFormat2Data_get_StartAddressOfPreviousSession 23 sptr
#comfunc global IDiscFormat2Data_get_LastWrittenAddressOfPreviousSession 24 sptr
#comfunc global IDiscFormat2Data_put_ForceMediaToBeClosed 25 int
#comfunc global IDiscFormat2Data_get_ForceMediaToBeClosed 26 sptr
#comfunc global IDiscFormat2Data_put_DisableConsumerDvdCompatibilityMode 27 int
#comfunc global IDiscFormat2Data_get_DisableConsumerDvdCompatibilityMode 28 sptr
#comfunc global IDiscFormat2Data_get_CurrentPhysicalMediaType 29 sptr
#comfunc global IDiscFormat2Data_put_ClientName 30 wstr
#comfunc global IDiscFormat2Data_get_ClientName 31 sptr
#comfunc global IDiscFormat2Data_get_RequestedWriteSpeed 32 sptr
#comfunc global IDiscFormat2Data_get_RequestedRotationTypeIsPureCAV 33 sptr
#comfunc global IDiscFormat2Data_get_CurrentWriteSpeed 34 sptr
#comfunc global IDiscFormat2Data_get_CurrentRotationTypeIsPureCAV 35 sptr
#comfunc global IDiscFormat2Data_get_SupportedWriteSpeeds 36 sptr
#comfunc global IDiscFormat2Data_get_SupportedWriteSpeedDescriptors 37 sptr
#comfunc global IDiscFormat2Data_put_ForceOverwrite 38 int
#comfunc global IDiscFormat2Data_get_ForceOverwrite 39 sptr
#comfunc global IDiscFormat2Data_get_MultisessionInterfaces 40 sptr
#comfunc global IDiscFormat2Data_Write 41 sptr
#comfunc global IDiscFormat2Data_CancelWrite 42
#comfunc global IDiscFormat2Data_SetWriteSpeed 43 int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。