Win32 API 日本語リファレンス
ホームSystem.Diagnostics.ClrProfiling › ICorProfilerInfo

ICorProfilerInfo

COM
IID28b5557d-3f3f-48b4-90b2-5f9eea2f6c48継承元IUnknown自前メソッド開始 vtbl3

メソッド 33

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtblメソッド
3HRESULT GetClassFromObject(UINT_PTR objectId, UINT_PTR* pClassId)
4HRESULT GetClassFromToken(UINT_PTR moduleId, DWORD typeDef, UINT_PTR* pClassId)
5HRESULT GetCodeInfo(UINT_PTR functionId, BYTE** pStart, DWORD* pcSize)
6HRESULT GetEventMask(DWORD* pdwEvents)
7HRESULT GetFunctionFromIP(BYTE* ip, UINT_PTR* pFunctionId)
8HRESULT GetFunctionFromToken(UINT_PTR moduleId, DWORD token, UINT_PTR* pFunctionId)
9HRESULT GetHandleFromThread(UINT_PTR threadId, HANDLE* phThread)
10HRESULT GetObjectSize(UINT_PTR objectId, DWORD* pcSize)
11HRESULT IsArrayClass(UINT_PTR classId, CorElementType* pBaseElemType, UINT_PTR* pBaseClassId, DWORD* pcRank)
12HRESULT GetThreadInfo(UINT_PTR threadId, DWORD* pdwWin32ThreadId)
13HRESULT GetCurrentThreadID(UINT_PTR* pThreadId)
14HRESULT GetClassIDInfo(UINT_PTR classId, UINT_PTR* pModuleId, DWORD* pTypeDefToken)
15HRESULT GetFunctionInfo(UINT_PTR functionId, UINT_PTR* pClassId, UINT_PTR* pModuleId, DWORD* pToken)
16HRESULT SetEventMask(DWORD dwEvents)
17HRESULT SetEnterLeaveFunctionHooks(FunctionEnter* pFuncEnter, FunctionLeave* pFuncLeave, FunctionTailcall* pFuncTailcall)
18HRESULT SetFunctionIDMapper(FunctionIDMapper* pFunc)
19HRESULT GetTokenAndMetaDataFromFunction(UINT_PTR functionId, GUID* riid, IUnknown** ppImport, DWORD* pToken)
20HRESULT GetModuleInfo(UINT_PTR moduleId, BYTE** ppBaseLoadAddress, DWORD cchName, DWORD* pcchName, LPWSTR szName, UINT_PTR* pAssemblyId)
21HRESULT GetModuleMetaData(UINT_PTR moduleId, DWORD dwOpenFlags, GUID* riid, IUnknown** ppOut)
22HRESULT GetILFunctionBody(UINT_PTR moduleId, DWORD methodId, BYTE** ppMethodHeader, DWORD* pcbMethodSize)
23HRESULT GetILFunctionBodyAllocator(UINT_PTR moduleId, IMethodMalloc** ppMalloc)
24HRESULT SetILFunctionBody(UINT_PTR moduleId, DWORD methodid, BYTE* pbNewILMethodHeader)
25HRESULT GetAppDomainInfo(UINT_PTR appDomainId, DWORD cchName, DWORD* pcchName, LPWSTR szName, UINT_PTR* pProcessId)
26HRESULT GetAssemblyInfo(UINT_PTR assemblyId, DWORD cchName, DWORD* pcchName, LPWSTR szName, UINT_PTR* pAppDomainId, UINT_PTR* pModuleId)
27HRESULT SetFunctionReJIT(UINT_PTR functionId)
28HRESULT ForceGC()
29HRESULT SetILInstrumentedCodeMap(UINT_PTR functionId, BOOL fStartJit, DWORD cILMapEntries, COR_IL_MAP* rgILMapEntries)
30HRESULT GetInprocInspectionInterface(IUnknown** ppicd)
31HRESULT GetInprocInspectionIThisThread(IUnknown** ppicd)
32HRESULT GetThreadContext(UINT_PTR threadId, UINT_PTR* pContextId)
33HRESULT BeginInprocDebugging(BOOL fThisThreadOnly, DWORD* pdwProfilerContext)
34HRESULT EndInprocDebugging(DWORD dwProfilerContext)
35HRESULT GetILToNativeMapping(UINT_PTR functionId, DWORD cMap, DWORD* pcMap, COR_DEBUG_IL_TO_NATIVE_MAP* map)