ホーム › System.Diagnostics.Debug.ActiveScript › IProcessDebugManager64
IProcessDebugManager64
COMメソッド 5
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT CreateApplication(IDebugApplication64** ppda)
| ppda | IDebugApplication64** | out | 新規に作成されたデバッグアプリケーション IDebugApplication64 を受け取る出力ポインタである。 |
vtbl 4 HRESULT GetDefaultApplication(IDebugApplication64** ppda)
| ppda | IDebugApplication64** | out | プロセスの既定デバッグアプリケーション IDebugApplication64 を受け取る出力ポインタである。 |
vtbl 5 HRESULT AddApplication(IDebugApplication64* pda, DWORD* pdwAppCookie)
| pda | IDebugApplication64* | in | プロセスに登録するデバッグアプリケーション IDebugApplication64 へのポインタである。 |
| pdwAppCookie | DWORD* | out | 登録を識別するクッキー値を受け取るポインタである。後で RemoveApplication に渡す。 |
| dwAppCookie | DWORD | in | AddApplication で取得した、登録解除する対象のクッキー値である。 |
vtbl 7 HRESULT CreateDebugDocumentHelper(IUnknown* punkOuter, IDebugDocumentHelper64** pddh)
| punkOuter | IUnknown* | in | アグリゲーションを行う場合の制御 IUnknown へのポインタである。アグリゲートしない場合は NULL。 |
| pddh | IDebugDocumentHelper64** | out | 新規に作成された IDebugDocumentHelper64 を受け取る出力ポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IProcessDebugManager64 "{56B9FC1C-63A9-4CC1-AC21-087D69A17FAB}" #usecom global IProcessDebugManager64 IID_IProcessDebugManager64 "{78A51822-51F4-11D0-8F20-00805F2CD064}" #comfunc global IProcessDebugManager64_CreateApplication 3 sptr #comfunc global IProcessDebugManager64_GetDefaultApplication 4 sptr #comfunc global IProcessDebugManager64_AddApplication 5 sptr,var #comfunc global IProcessDebugManager64_RemoveApplication 6 int #comfunc global IProcessDebugManager64_CreateDebugDocumentHelper 7 sptr,sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IProcessDebugManager64 "{56B9FC1C-63A9-4CC1-AC21-087D69A17FAB}" #usecom global IProcessDebugManager64 IID_IProcessDebugManager64 "{78A51822-51F4-11D0-8F20-00805F2CD064}" #comfunc global IProcessDebugManager64_CreateApplication 3 sptr #comfunc global IProcessDebugManager64_GetDefaultApplication 4 sptr #comfunc global IProcessDebugManager64_AddApplication 5 sptr,sptr #comfunc global IProcessDebugManager64_RemoveApplication 6 int #comfunc global IProcessDebugManager64_CreateDebugDocumentHelper 7 sptr,sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。