Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert Driesen <drieseng@users.sourceforge.net>2004-06-18 09:53:26 +0400
committerGert Driesen <drieseng@users.sourceforge.net>2004-06-18 09:53:26 +0400
commitd7536995bfff98aa957b0d90697a868b6fe951b0 (patch)
tree400bbb3785fd50d81c846cd9fdfe43795183eef7 /mcs/class/corlib/System.Runtime.InteropServices/BINDPTR.cs
parent48447ddacbab6619fdc281ecf316bf624e5271dc (diff)
* BINDPTR.cs: have layout and charset match MS.NET
* CONNECTDATA.cs: have layout and charset match MS.NET * DISPPARAMS.cs: have layout and charset match MS.NET * ELEMDESC.cs: have layout and charset match MS.NET * EXCEPINFO.cs: have layout and charset match MS.NET * IDLDESC.cs: have layout and charset match MS.NET * PARAMDESC.cs: have layout and charset match MS.NET * STATSTG.cs: have layout and charset match MS.NET * TYPEATTR.cs: have layout and charset match MS.NET * TYPEDESC.cs: have layout and charset match MS.NET * TYPELIBATTR.cs: have layout and charset match MS.NET * VARDESC.cs: have layout and charset match MS.NET svn path=/trunk/mcs/; revision=29848
Diffstat (limited to 'mcs/class/corlib/System.Runtime.InteropServices/BINDPTR.cs')
-rwxr-xr-xmcs/class/corlib/System.Runtime.InteropServices/BINDPTR.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.Runtime.InteropServices/BINDPTR.cs b/mcs/class/corlib/System.Runtime.InteropServices/BINDPTR.cs
index 15cf28d5bb7..89d84ec8405 100755
--- a/mcs/class/corlib/System.Runtime.InteropServices/BINDPTR.cs
+++ b/mcs/class/corlib/System.Runtime.InteropServices/BINDPTR.cs
@@ -32,11 +32,14 @@ using System;
namespace System.Runtime.InteropServices
{
-
[ComVisible(false)]
+ [StructLayout (LayoutKind.Explicit, CharSet = CharSet.Unicode)]
public struct BINDPTR {
+ [FieldOffset (0)]
public IntPtr lpfuncdesc;
+ [FieldOffset (0)]
public IntPtr lptcomp;
+ [FieldOffset (0)]
public IntPtr lpvardesc;
}
}