#define global IID_ICorProfilerCallback "{176FBED1-A55C-4796-98CA-A9DA0EF883E7}"
#usecom global ICorProfilerCallback IID_ICorProfilerCallback "{}"
#comfunc global ICorProfilerCallback_Initialize 3 sptr
#comfunc global ICorProfilerCallback_Shutdown 4
#comfunc global ICorProfilerCallback_AppDomainCreationStarted 5 sptr
#comfunc global ICorProfilerCallback_AppDomainCreationFinished 6 sptr,int
#comfunc global ICorProfilerCallback_AppDomainShutdownStarted 7 sptr
#comfunc global ICorProfilerCallback_AppDomainShutdownFinished 8 sptr,int
#comfunc global ICorProfilerCallback_AssemblyLoadStarted 9 sptr
#comfunc global ICorProfilerCallback_AssemblyLoadFinished 10 sptr,int
#comfunc global ICorProfilerCallback_AssemblyUnloadStarted 11 sptr
#comfunc global ICorProfilerCallback_AssemblyUnloadFinished 12 sptr,int
#comfunc global ICorProfilerCallback_ModuleLoadStarted 13 sptr
#comfunc global ICorProfilerCallback_ModuleLoadFinished 14 sptr,int
#comfunc global ICorProfilerCallback_ModuleUnloadStarted 15 sptr
#comfunc global ICorProfilerCallback_ModuleUnloadFinished 16 sptr,int
#comfunc global ICorProfilerCallback_ModuleAttachedToAssembly 17 sptr,sptr
#comfunc global ICorProfilerCallback_ClassLoadStarted 18 sptr
#comfunc global ICorProfilerCallback_ClassLoadFinished 19 sptr,int
#comfunc global ICorProfilerCallback_ClassUnloadStarted 20 sptr
#comfunc global ICorProfilerCallback_ClassUnloadFinished 21 sptr,int
#comfunc global ICorProfilerCallback_FunctionUnloadStarted 22 sptr
#comfunc global ICorProfilerCallback_JITCompilationStarted 23 sptr,int
#comfunc global ICorProfilerCallback_JITCompilationFinished 24 sptr,int,int
#comfunc global ICorProfilerCallback_JITCachedFunctionSearchStarted 25 sptr,var
#comfunc global ICorProfilerCallback_JITCachedFunctionSearchFinished 26 sptr,int
#comfunc global ICorProfilerCallback_JITFunctionPitched 27 sptr
#comfunc global ICorProfilerCallback_JITInlining 28 sptr,sptr,var
#comfunc global ICorProfilerCallback_ThreadCreated 29 sptr
#comfunc global ICorProfilerCallback_ThreadDestroyed 30 sptr
#comfunc global ICorProfilerCallback_ThreadAssignedToOSThread 31 sptr,int
#comfunc global ICorProfilerCallback_RemotingClientInvocationStarted 32
#comfunc global ICorProfilerCallback_RemotingClientSendingMessage 33 var,int
#comfunc global ICorProfilerCallback_RemotingClientReceivingReply 34 var,int
#comfunc global ICorProfilerCallback_RemotingClientInvocationFinished 35
#comfunc global ICorProfilerCallback_RemotingServerReceivingMessage 36 var,int
#comfunc global ICorProfilerCallback_RemotingServerInvocationStarted 37
#comfunc global ICorProfilerCallback_RemotingServerInvocationReturned 38
#comfunc global ICorProfilerCallback_RemotingServerSendingReply 39 var,int
#comfunc global ICorProfilerCallback_UnmanagedToManagedTransition 40 sptr,int
#comfunc global ICorProfilerCallback_ManagedToUnmanagedTransition 41 sptr,int
#comfunc global ICorProfilerCallback_RuntimeSuspendStarted 42 int
#comfunc global ICorProfilerCallback_RuntimeSuspendFinished 43
#comfunc global ICorProfilerCallback_RuntimeSuspendAborted 44
#comfunc global ICorProfilerCallback_RuntimeResumeStarted 45
#comfunc global ICorProfilerCallback_RuntimeResumeFinished 46
#comfunc global ICorProfilerCallback_RuntimeThreadSuspended 47 sptr
#comfunc global ICorProfilerCallback_RuntimeThreadResumed 48 sptr
#comfunc global ICorProfilerCallback_MovedReferences 49 int,var,var,var
#comfunc global ICorProfilerCallback_ObjectAllocated 50 sptr,sptr
#comfunc global ICorProfilerCallback_ObjectsAllocatedByClass 51 int,var,var
#comfunc global ICorProfilerCallback_ObjectReferences 52 sptr,sptr,int,var
#comfunc global ICorProfilerCallback_RootReferences 53 int,var
#comfunc global ICorProfilerCallback_ExceptionThrown 54 sptr
#comfunc global ICorProfilerCallback_ExceptionSearchFunctionEnter 55 sptr
#comfunc global ICorProfilerCallback_ExceptionSearchFunctionLeave 56
#comfunc global ICorProfilerCallback_ExceptionSearchFilterEnter 57 sptr
#comfunc global ICorProfilerCallback_ExceptionSearchFilterLeave 58
#comfunc global ICorProfilerCallback_ExceptionSearchCatcherFound 59 sptr
#comfunc global ICorProfilerCallback_ExceptionOSHandlerEnter 60 sptr
#comfunc global ICorProfilerCallback_ExceptionOSHandlerLeave 61 sptr
#comfunc global ICorProfilerCallback_ExceptionUnwindFunctionEnter 62 sptr
#comfunc global ICorProfilerCallback_ExceptionUnwindFunctionLeave 63
#comfunc global ICorProfilerCallback_ExceptionUnwindFinallyEnter 64 sptr
#comfunc global ICorProfilerCallback_ExceptionUnwindFinallyLeave 65
#comfunc global ICorProfilerCallback_ExceptionCatcherEnter 66 sptr,sptr
#comfunc global ICorProfilerCallback_ExceptionCatcherLeave 67
#comfunc global ICorProfilerCallback_COMClassicVTableCreated 68 sptr,var,sptr,int
#comfunc global ICorProfilerCallback_COMClassicVTableDestroyed 69 sptr,var,sptr
#comfunc global ICorProfilerCallback_ExceptionCLRCatcherFound 70
#comfunc global ICorProfilerCallback_ExceptionCLRCatcherExecute 71
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ICorProfilerCallback "{176FBED1-A55C-4796-98CA-A9DA0EF883E7}"
#usecom global ICorProfilerCallback IID_ICorProfilerCallback "{}"
#comfunc global ICorProfilerCallback_Initialize 3 sptr
#comfunc global ICorProfilerCallback_Shutdown 4
#comfunc global ICorProfilerCallback_AppDomainCreationStarted 5 sptr
#comfunc global ICorProfilerCallback_AppDomainCreationFinished 6 sptr,int
#comfunc global ICorProfilerCallback_AppDomainShutdownStarted 7 sptr
#comfunc global ICorProfilerCallback_AppDomainShutdownFinished 8 sptr,int
#comfunc global ICorProfilerCallback_AssemblyLoadStarted 9 sptr
#comfunc global ICorProfilerCallback_AssemblyLoadFinished 10 sptr,int
#comfunc global ICorProfilerCallback_AssemblyUnloadStarted 11 sptr
#comfunc global ICorProfilerCallback_AssemblyUnloadFinished 12 sptr,int
#comfunc global ICorProfilerCallback_ModuleLoadStarted 13 sptr
#comfunc global ICorProfilerCallback_ModuleLoadFinished 14 sptr,int
#comfunc global ICorProfilerCallback_ModuleUnloadStarted 15 sptr
#comfunc global ICorProfilerCallback_ModuleUnloadFinished 16 sptr,int
#comfunc global ICorProfilerCallback_ModuleAttachedToAssembly 17 sptr,sptr
#comfunc global ICorProfilerCallback_ClassLoadStarted 18 sptr
#comfunc global ICorProfilerCallback_ClassLoadFinished 19 sptr,int
#comfunc global ICorProfilerCallback_ClassUnloadStarted 20 sptr
#comfunc global ICorProfilerCallback_ClassUnloadFinished 21 sptr,int
#comfunc global ICorProfilerCallback_FunctionUnloadStarted 22 sptr
#comfunc global ICorProfilerCallback_JITCompilationStarted 23 sptr,int
#comfunc global ICorProfilerCallback_JITCompilationFinished 24 sptr,int,int
#comfunc global ICorProfilerCallback_JITCachedFunctionSearchStarted 25 sptr,sptr
#comfunc global ICorProfilerCallback_JITCachedFunctionSearchFinished 26 sptr,int
#comfunc global ICorProfilerCallback_JITFunctionPitched 27 sptr
#comfunc global ICorProfilerCallback_JITInlining 28 sptr,sptr,sptr
#comfunc global ICorProfilerCallback_ThreadCreated 29 sptr
#comfunc global ICorProfilerCallback_ThreadDestroyed 30 sptr
#comfunc global ICorProfilerCallback_ThreadAssignedToOSThread 31 sptr,int
#comfunc global ICorProfilerCallback_RemotingClientInvocationStarted 32
#comfunc global ICorProfilerCallback_RemotingClientSendingMessage 33 sptr,int
#comfunc global ICorProfilerCallback_RemotingClientReceivingReply 34 sptr,int
#comfunc global ICorProfilerCallback_RemotingClientInvocationFinished 35
#comfunc global ICorProfilerCallback_RemotingServerReceivingMessage 36 sptr,int
#comfunc global ICorProfilerCallback_RemotingServerInvocationStarted 37
#comfunc global ICorProfilerCallback_RemotingServerInvocationReturned 38
#comfunc global ICorProfilerCallback_RemotingServerSendingReply 39 sptr,int
#comfunc global ICorProfilerCallback_UnmanagedToManagedTransition 40 sptr,int
#comfunc global ICorProfilerCallback_ManagedToUnmanagedTransition 41 sptr,int
#comfunc global ICorProfilerCallback_RuntimeSuspendStarted 42 int
#comfunc global ICorProfilerCallback_RuntimeSuspendFinished 43
#comfunc global ICorProfilerCallback_RuntimeSuspendAborted 44
#comfunc global ICorProfilerCallback_RuntimeResumeStarted 45
#comfunc global ICorProfilerCallback_RuntimeResumeFinished 46
#comfunc global ICorProfilerCallback_RuntimeThreadSuspended 47 sptr
#comfunc global ICorProfilerCallback_RuntimeThreadResumed 48 sptr
#comfunc global ICorProfilerCallback_MovedReferences 49 int,sptr,sptr,sptr
#comfunc global ICorProfilerCallback_ObjectAllocated 50 sptr,sptr
#comfunc global ICorProfilerCallback_ObjectsAllocatedByClass 51 int,sptr,sptr
#comfunc global ICorProfilerCallback_ObjectReferences 52 sptr,sptr,int,sptr
#comfunc global ICorProfilerCallback_RootReferences 53 int,sptr
#comfunc global ICorProfilerCallback_ExceptionThrown 54 sptr
#comfunc global ICorProfilerCallback_ExceptionSearchFunctionEnter 55 sptr
#comfunc global ICorProfilerCallback_ExceptionSearchFunctionLeave 56
#comfunc global ICorProfilerCallback_ExceptionSearchFilterEnter 57 sptr
#comfunc global ICorProfilerCallback_ExceptionSearchFilterLeave 58
#comfunc global ICorProfilerCallback_ExceptionSearchCatcherFound 59 sptr
#comfunc global ICorProfilerCallback_ExceptionOSHandlerEnter 60 sptr
#comfunc global ICorProfilerCallback_ExceptionOSHandlerLeave 61 sptr
#comfunc global ICorProfilerCallback_ExceptionUnwindFunctionEnter 62 sptr
#comfunc global ICorProfilerCallback_ExceptionUnwindFunctionLeave 63
#comfunc global ICorProfilerCallback_ExceptionUnwindFinallyEnter 64 sptr
#comfunc global ICorProfilerCallback_ExceptionUnwindFinallyLeave 65
#comfunc global ICorProfilerCallback_ExceptionCatcherEnter 66 sptr,sptr
#comfunc global ICorProfilerCallback_ExceptionCatcherLeave 67
#comfunc global ICorProfilerCallback_COMClassicVTableCreated 68 sptr,sptr,sptr,int
#comfunc global ICorProfilerCallback_COMClassicVTableDestroyed 69 sptr,sptr,sptr
#comfunc global ICorProfilerCallback_ExceptionCLRCatcherFound 70
#comfunc global ICorProfilerCallback_ExceptionCLRCatcherExecute 71
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。