提交 8ae91a83 编写于 作者: T Tomas Matousek

Fix parameter marshalling index of GetSymAttributeByVersion

上级 350047f9
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
namespace Microsoft.DiaSymReader namespace Microsoft.DiaSymReader
{ {
[ComImport] [ComImport]
[Guid("A09E53B2-2A57-4cca-8F63-B84F7C35D4AA")] [Guid("6151CAD9-E1EE-437A-A808-F64838C0D046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisible(false)] [ComVisible(false)]
public interface ISymUnmanagedReader3 : ISymUnmanagedReader2 public interface ISymUnmanagedReader3 : ISymUnmanagedReader2
...@@ -147,7 +147,7 @@ public interface ISymUnmanagedReader3 : ISymUnmanagedReader2 ...@@ -147,7 +147,7 @@ public interface ISymUnmanagedReader3 : ISymUnmanagedReader2
[MarshalAs(UnmanagedType.LPWStr)] string name, [MarshalAs(UnmanagedType.LPWStr)] string name,
int bufferLength, int bufferLength,
out int count, out int count,
[In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] customDebugInformation); [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] byte[] customDebugInformation);
/// <summary> /// <summary>
/// Gets a custom debug information based upon its name and an EnC 1-based version number. /// Gets a custom debug information based upon its name and an EnC 1-based version number.
...@@ -159,7 +159,7 @@ public interface ISymUnmanagedReader3 : ISymUnmanagedReader2 ...@@ -159,7 +159,7 @@ public interface ISymUnmanagedReader3 : ISymUnmanagedReader2
[MarshalAs(UnmanagedType.LPWStr)] string name, [MarshalAs(UnmanagedType.LPWStr)] string name,
int bufferLength, int bufferLength,
out int count, out int count,
[In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] byte[] buffer); [In, Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 3)] byte[] buffer);
#endregion #endregion
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册