#define global IID_IDebugSystemObjects2 "{0AE9F5FF-1852-4679-B055-494BEE6407EE}"
#usecom global IDebugSystemObjects2 IID_IDebugSystemObjects2 "{}"
#comfunc global IDebugSystemObjects2_GetEventThread 3 var
#comfunc global IDebugSystemObjects2_GetEventProcess 4 var
#comfunc global IDebugSystemObjects2_GetCurrentThreadId 5 var
#comfunc global IDebugSystemObjects2_SetCurrentThreadId 6 int
#comfunc global IDebugSystemObjects2_GetCurrentProcessId 7 var
#comfunc global IDebugSystemObjects2_SetCurrentProcessId 8 int
#comfunc global IDebugSystemObjects2_GetNumberThreads 9 var
#comfunc global IDebugSystemObjects2_GetTotalNumberThreads 10 var,var
#comfunc global IDebugSystemObjects2_GetThreadIdsByIndex 11 int,int,var,var
#comfunc global IDebugSystemObjects2_GetThreadIdByProcessor 12 int,var
#comfunc global IDebugSystemObjects2_GetCurrentThreadDataOffset 13 var
#comfunc global IDebugSystemObjects2_GetThreadIdByDataOffset 14 int64,var
#comfunc global IDebugSystemObjects2_GetCurrentThreadTeb 15 var
#comfunc global IDebugSystemObjects2_GetThreadIdByTeb 16 int64,var
#comfunc global IDebugSystemObjects2_GetCurrentThreadSystemId 17 var
#comfunc global IDebugSystemObjects2_GetThreadIdBySystemId 18 int,var
#comfunc global IDebugSystemObjects2_GetCurrentThreadHandle 19 var
#comfunc global IDebugSystemObjects2_GetThreadIdByHandle 20 int64,var
#comfunc global IDebugSystemObjects2_GetNumberProcesses 21 var
#comfunc global IDebugSystemObjects2_GetProcessIdsByIndex 22 int,int,var,var
#comfunc global IDebugSystemObjects2_GetCurrentProcessDataOffset 23 var
#comfunc global IDebugSystemObjects2_GetProcessIdByDataOffset 24 int64,var
#comfunc global IDebugSystemObjects2_GetCurrentProcessPeb 25 var
#comfunc global IDebugSystemObjects2_GetProcessIdByPeb 26 int64,var
#comfunc global IDebugSystemObjects2_GetCurrentProcessSystemId 27 var
#comfunc global IDebugSystemObjects2_GetProcessIdBySystemId 28 int,var
#comfunc global IDebugSystemObjects2_GetCurrentProcessHandle 29 var
#comfunc global IDebugSystemObjects2_GetProcessIdByHandle 30 int64,var
#comfunc global IDebugSystemObjects2_GetCurrentProcessExecutableName 31 var,int,var
#comfunc global IDebugSystemObjects2_GetCurrentProcessUpTime 32 var
#comfunc global IDebugSystemObjects2_GetImplicitThreadDataOffset 33 var
#comfunc global IDebugSystemObjects2_SetImplicitThreadDataOffset 34 int64
#comfunc global IDebugSystemObjects2_GetImplicitProcessDataOffset 35 var
#comfunc global IDebugSystemObjects2_SetImplicitProcessDataOffset 36 int64
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IDebugSystemObjects2 "{0AE9F5FF-1852-4679-B055-494BEE6407EE}"
#usecom global IDebugSystemObjects2 IID_IDebugSystemObjects2 "{}"
#comfunc global IDebugSystemObjects2_GetEventThread 3 sptr
#comfunc global IDebugSystemObjects2_GetEventProcess 4 sptr
#comfunc global IDebugSystemObjects2_GetCurrentThreadId 5 sptr
#comfunc global IDebugSystemObjects2_SetCurrentThreadId 6 int
#comfunc global IDebugSystemObjects2_GetCurrentProcessId 7 sptr
#comfunc global IDebugSystemObjects2_SetCurrentProcessId 8 int
#comfunc global IDebugSystemObjects2_GetNumberThreads 9 sptr
#comfunc global IDebugSystemObjects2_GetTotalNumberThreads 10 sptr,sptr
#comfunc global IDebugSystemObjects2_GetThreadIdsByIndex 11 int,int,sptr,sptr
#comfunc global IDebugSystemObjects2_GetThreadIdByProcessor 12 int,sptr
#comfunc global IDebugSystemObjects2_GetCurrentThreadDataOffset 13 sptr
#comfunc global IDebugSystemObjects2_GetThreadIdByDataOffset 14 int64,sptr
#comfunc global IDebugSystemObjects2_GetCurrentThreadTeb 15 sptr
#comfunc global IDebugSystemObjects2_GetThreadIdByTeb 16 int64,sptr
#comfunc global IDebugSystemObjects2_GetCurrentThreadSystemId 17 sptr
#comfunc global IDebugSystemObjects2_GetThreadIdBySystemId 18 int,sptr
#comfunc global IDebugSystemObjects2_GetCurrentThreadHandle 19 sptr
#comfunc global IDebugSystemObjects2_GetThreadIdByHandle 20 int64,sptr
#comfunc global IDebugSystemObjects2_GetNumberProcesses 21 sptr
#comfunc global IDebugSystemObjects2_GetProcessIdsByIndex 22 int,int,sptr,sptr
#comfunc global IDebugSystemObjects2_GetCurrentProcessDataOffset 23 sptr
#comfunc global IDebugSystemObjects2_GetProcessIdByDataOffset 24 int64,sptr
#comfunc global IDebugSystemObjects2_GetCurrentProcessPeb 25 sptr
#comfunc global IDebugSystemObjects2_GetProcessIdByPeb 26 int64,sptr
#comfunc global IDebugSystemObjects2_GetCurrentProcessSystemId 27 sptr
#comfunc global IDebugSystemObjects2_GetProcessIdBySystemId 28 int,sptr
#comfunc global IDebugSystemObjects2_GetCurrentProcessHandle 29 sptr
#comfunc global IDebugSystemObjects2_GetProcessIdByHandle 30 int64,sptr
#comfunc global IDebugSystemObjects2_GetCurrentProcessExecutableName 31 sptr,int,sptr
#comfunc global IDebugSystemObjects2_GetCurrentProcessUpTime 32 sptr
#comfunc global IDebugSystemObjects2_GetImplicitThreadDataOffset 33 sptr
#comfunc global IDebugSystemObjects2_SetImplicitThreadDataOffset 34 int64
#comfunc global IDebugSystemObjects2_GetImplicitProcessDataOffset 35 sptr
#comfunc global IDebugSystemObjects2_SetImplicitProcessDataOffset 36 int64
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。