public static CodeLineData GetDisassemblyLineData(CpuType type, UInt32 lineIndex) { InteropCodeLineData data = new InteropCodeLineData(); data.Comment = new byte[1000]; data.Text = new byte[1000]; data.ByteCode = new byte[4]; DebugApi.GetDisassemblyLineDataWrapper(type, lineIndex, ref data); return(new CodeLineData(data, type)); }
[DllImport(DllPath, EntryPoint = "GetDisassemblyLineData")] private static extern void GetDisassemblyLineDataWrapper(CpuType type, UInt32 lineIndex, ref InteropCodeLineData lineData);