ホーム › Storage.Imapi › IJolietDiscMaster
IJolietDiscMaster
COMメソッド 6
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| pnBlocks | INT* | out | データブロックの総数を受け取るポインタである。 |
| pnBlocks | INT* | out | 使用済みのデータブロック数を受け取るポインタである。 |
| pnBlockBytes | INT* | out | データブロック 1 個分のサイズをバイト単位で受け取るポインタである。 |
| pStorage | IStorage* | inoptional | ディスクへ追加するデータを格納した IStorage を指定する。 |
| lFileOverwrite | INT | in | 同名ファイルが存在する場合の上書き動作を指定する。 |
vtbl 7 HRESULT GetJolietProperties(IPropertyStorage** ppPropStg)
| ppPropStg | IPropertyStorage** | out | Joliet ファイルシステムのプロパティを格納した IPropertyStorage を受け取るポインタである。 |
vtbl 8 HRESULT SetJolietProperties(IPropertyStorage* pPropStg)
| pPropStg | IPropertyStorage* | inoptional | 設定する Joliet ファイルシステムのプロパティを格納した IPropertyStorage を指定する。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IJolietDiscMaster "{E3BC42CE-4E5C-11D3-9144-00104BA11C5E}" #usecom global IJolietDiscMaster IID_IJolietDiscMaster "{}" #comfunc global IJolietDiscMaster_GetTotalDataBlocks 3 var #comfunc global IJolietDiscMaster_GetUsedDataBlocks 4 var #comfunc global IJolietDiscMaster_GetDataBlockSize 5 var #comfunc global IJolietDiscMaster_AddData 6 sptr,int #comfunc global IJolietDiscMaster_GetJolietProperties 7 sptr #comfunc global IJolietDiscMaster_SetJolietProperties 8 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IJolietDiscMaster "{E3BC42CE-4E5C-11D3-9144-00104BA11C5E}" #usecom global IJolietDiscMaster IID_IJolietDiscMaster "{}" #comfunc global IJolietDiscMaster_GetTotalDataBlocks 3 sptr #comfunc global IJolietDiscMaster_GetUsedDataBlocks 4 sptr #comfunc global IJolietDiscMaster_GetDataBlockSize 5 sptr #comfunc global IJolietDiscMaster_AddData 6 sptr,int #comfunc global IJolietDiscMaster_GetJolietProperties 7 sptr #comfunc global IJolietDiscMaster_SetJolietProperties 8 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。