예제 #1
0
        public static string UnDecorateSymbolName(string name, UnDecorateFlags flags = UnDecorateFlags.NameOnly)
        {
            var sb = new StringBuilder(260);

            return(NativeMethods.UnDecorateSymbolName(name, sb, sb.Capacity, flags) ? sb.ToString() : name);
        }
예제 #2
0
 public static extern int UnDecorateSymbolName(
     [In][MarshalAs(UnmanagedType.LPStr)] string DecoratedName,
     [Out] StringBuilder UnDecoratedName,
     [In][MarshalAs(UnmanagedType.U4)] int UndecoratedLength,
     [In][MarshalAs(UnmanagedType.U4)] UnDecorateFlags Flags);
예제 #3
0
 public static extern bool UnDecorateSymbolName(string name, StringBuilder outputString, int maxStringLength, UnDecorateFlags flags);