Example #1
0
        } // end GetColorName()

        public static DbgFunctionTypeTypeInfo GetFunctionTypeTypeInfo(DbgEngDebugger debugger,
                                                                      DbgModuleInfo module,
                                                                      uint typeId)
        {
            if (null == debugger)
            {
                throw new ArgumentNullException("debugger");
            }

            if (null == module)
            {
                throw new ArgumentNullException("module");
            }

            var rfti = DbgHelp.GetFuncTypeInfo(debugger.DebuggerInterface,
                                               module.BaseAddress,
                                               typeId);

            return(new DbgFunctionTypeTypeInfo(debugger,
                                               module,
                                               typeId,
                                               rfti.ReturnTypeId,
                                               rfti.ClassParentId,
                                               rfti.ThisAdjust,
                                               rfti.CallingConvention,
                                               rfti.Arguments));
        } // end GetUdtTypeInfo()