#define global IID_IDebugSystemObjects4 "{489468E6-7D0F-4AF5-87AB-25207454D553}"
#usecom global IDebugSystemObjects4 IID_IDebugSystemObjects4 "{}"
#comfunc global IDebugSystemObjects4_GetEventThread 3 var
#comfunc global IDebugSystemObjects4_GetEventProcess 4 var
#comfunc global IDebugSystemObjects4_GetCurrentThreadId 5 var
#comfunc global IDebugSystemObjects4_SetCurrentThreadId 6 int
#comfunc global IDebugSystemObjects4_GetCurrentProcessId 7 var
#comfunc global IDebugSystemObjects4_SetCurrentProcessId 8 int
#comfunc global IDebugSystemObjects4_GetNumberThreads 9 var
#comfunc global IDebugSystemObjects4_GetTotalNumberThreads 10 var,var
#comfunc global IDebugSystemObjects4_GetThreadIdsByIndex 11 int,int,var,var
#comfunc global IDebugSystemObjects4_GetThreadIdByProcessor 12 int,var
#comfunc global IDebugSystemObjects4_GetCurrentThreadDataOffset 13 var
#comfunc global IDebugSystemObjects4_GetThreadIdByDataOffset 14 int64,var
#comfunc global IDebugSystemObjects4_GetCurrentThreadTeb 15 var
#comfunc global IDebugSystemObjects4_GetThreadIdByTeb 16 int64,var
#comfunc global IDebugSystemObjects4_GetCurrentThreadSystemId 17 var
#comfunc global IDebugSystemObjects4_GetThreadIdBySystemId 18 int,var
#comfunc global IDebugSystemObjects4_GetCurrentThreadHandle 19 var
#comfunc global IDebugSystemObjects4_GetThreadIdByHandle 20 int64,var
#comfunc global IDebugSystemObjects4_GetNumberProcesses 21 var
#comfunc global IDebugSystemObjects4_GetProcessIdsByIndex 22 int,int,var,var
#comfunc global IDebugSystemObjects4_GetCurrentProcessDataOffset 23 var
#comfunc global IDebugSystemObjects4_GetProcessIdByDataOffset 24 int64,var
#comfunc global IDebugSystemObjects4_GetCurrentProcessPeb 25 var
#comfunc global IDebugSystemObjects4_GetProcessIdByPeb 26 int64,var
#comfunc global IDebugSystemObjects4_GetCurrentProcessSystemId 27 var
#comfunc global IDebugSystemObjects4_GetProcessIdBySystemId 28 int,var
#comfunc global IDebugSystemObjects4_GetCurrentProcessHandle 29 var
#comfunc global IDebugSystemObjects4_GetProcessIdByHandle 30 int64,var
#comfunc global IDebugSystemObjects4_GetCurrentProcessExecutableName 31 var,int,var
#comfunc global IDebugSystemObjects4_GetCurrentProcessUpTime 32 var
#comfunc global IDebugSystemObjects4_GetImplicitThreadDataOffset 33 var
#comfunc global IDebugSystemObjects4_SetImplicitThreadDataOffset 34 int64
#comfunc global IDebugSystemObjects4_GetImplicitProcessDataOffset 35 var
#comfunc global IDebugSystemObjects4_SetImplicitProcessDataOffset 36 int64
#comfunc global IDebugSystemObjects4_GetEventSystem 37 var
#comfunc global IDebugSystemObjects4_GetCurrentSystemId 38 var
#comfunc global IDebugSystemObjects4_SetCurrentSystemId 39 int
#comfunc global IDebugSystemObjects4_GetNumberSystems 40 var
#comfunc global IDebugSystemObjects4_GetSystemIdsByIndex 41 int,int,var
#comfunc global IDebugSystemObjects4_GetTotalNumberThreadsAndProcesses 42 var,var,var,var,var
#comfunc global IDebugSystemObjects4_GetCurrentSystemServer 43 var
#comfunc global IDebugSystemObjects4_GetSystemByServer 44 int64,var
#comfunc global IDebugSystemObjects4_GetCurrentSystemServerName 45 var,int,var
#comfunc global IDebugSystemObjects4_GetCurrentProcessExecutableNameWide 46 var,int,var
#comfunc global IDebugSystemObjects4_GetCurrentSystemServerNameWide 47 var,int,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IDebugSystemObjects4 "{489468E6-7D0F-4AF5-87AB-25207454D553}"
#usecom global IDebugSystemObjects4 IID_IDebugSystemObjects4 "{}"
#comfunc global IDebugSystemObjects4_GetEventThread 3 sptr
#comfunc global IDebugSystemObjects4_GetEventProcess 4 sptr
#comfunc global IDebugSystemObjects4_GetCurrentThreadId 5 sptr
#comfunc global IDebugSystemObjects4_SetCurrentThreadId 6 int
#comfunc global IDebugSystemObjects4_GetCurrentProcessId 7 sptr
#comfunc global IDebugSystemObjects4_SetCurrentProcessId 8 int
#comfunc global IDebugSystemObjects4_GetNumberThreads 9 sptr
#comfunc global IDebugSystemObjects4_GetTotalNumberThreads 10 sptr,sptr
#comfunc global IDebugSystemObjects4_GetThreadIdsByIndex 11 int,int,sptr,sptr
#comfunc global IDebugSystemObjects4_GetThreadIdByProcessor 12 int,sptr
#comfunc global IDebugSystemObjects4_GetCurrentThreadDataOffset 13 sptr
#comfunc global IDebugSystemObjects4_GetThreadIdByDataOffset 14 int64,sptr
#comfunc global IDebugSystemObjects4_GetCurrentThreadTeb 15 sptr
#comfunc global IDebugSystemObjects4_GetThreadIdByTeb 16 int64,sptr
#comfunc global IDebugSystemObjects4_GetCurrentThreadSystemId 17 sptr
#comfunc global IDebugSystemObjects4_GetThreadIdBySystemId 18 int,sptr
#comfunc global IDebugSystemObjects4_GetCurrentThreadHandle 19 sptr
#comfunc global IDebugSystemObjects4_GetThreadIdByHandle 20 int64,sptr
#comfunc global IDebugSystemObjects4_GetNumberProcesses 21 sptr
#comfunc global IDebugSystemObjects4_GetProcessIdsByIndex 22 int,int,sptr,sptr
#comfunc global IDebugSystemObjects4_GetCurrentProcessDataOffset 23 sptr
#comfunc global IDebugSystemObjects4_GetProcessIdByDataOffset 24 int64,sptr
#comfunc global IDebugSystemObjects4_GetCurrentProcessPeb 25 sptr
#comfunc global IDebugSystemObjects4_GetProcessIdByPeb 26 int64,sptr
#comfunc global IDebugSystemObjects4_GetCurrentProcessSystemId 27 sptr
#comfunc global IDebugSystemObjects4_GetProcessIdBySystemId 28 int,sptr
#comfunc global IDebugSystemObjects4_GetCurrentProcessHandle 29 sptr
#comfunc global IDebugSystemObjects4_GetProcessIdByHandle 30 int64,sptr
#comfunc global IDebugSystemObjects4_GetCurrentProcessExecutableName 31 sptr,int,sptr
#comfunc global IDebugSystemObjects4_GetCurrentProcessUpTime 32 sptr
#comfunc global IDebugSystemObjects4_GetImplicitThreadDataOffset 33 sptr
#comfunc global IDebugSystemObjects4_SetImplicitThreadDataOffset 34 int64
#comfunc global IDebugSystemObjects4_GetImplicitProcessDataOffset 35 sptr
#comfunc global IDebugSystemObjects4_SetImplicitProcessDataOffset 36 int64
#comfunc global IDebugSystemObjects4_GetEventSystem 37 sptr
#comfunc global IDebugSystemObjects4_GetCurrentSystemId 38 sptr
#comfunc global IDebugSystemObjects4_SetCurrentSystemId 39 int
#comfunc global IDebugSystemObjects4_GetNumberSystems 40 sptr
#comfunc global IDebugSystemObjects4_GetSystemIdsByIndex 41 int,int,sptr
#comfunc global IDebugSystemObjects4_GetTotalNumberThreadsAndProcesses 42 sptr,sptr,sptr,sptr,sptr
#comfunc global IDebugSystemObjects4_GetCurrentSystemServer 43 sptr
#comfunc global IDebugSystemObjects4_GetSystemByServer 44 int64,sptr
#comfunc global IDebugSystemObjects4_GetCurrentSystemServerName 45 sptr,int,sptr
#comfunc global IDebugSystemObjects4_GetCurrentProcessExecutableNameWide 46 sptr,int,sptr
#comfunc global IDebugSystemObjects4_GetCurrentSystemServerNameWide 47 sptr,int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。