コード例 #1
0
ファイル: SymbolHandler.cs プロジェクト: zodiacon/DebugHelp
 public bool GetTypeFromName(ulong baseAddress, string name, ref SymbolInfo type)
 => Win32.SymGetTypeFromName(_hProcess, baseAddress, name, ref type);
コード例 #2
0
ファイル: SymbolHandler.cs プロジェクト: zodiacon/DebugHelp
        public int GetTypeIndexFromName(ulong baseAddress, string name)
        {
            var symbol = SymbolInfo.Create();

            return(Win32.SymGetTypeFromName(_hProcess, baseAddress, name, ref symbol) ? symbol.TypeIndex : 0);
        }