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