Merge pull request #920
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / BINDPTR.cs
old mode 100755 (executable)
new mode 100644 (file)
index 15cf28d..51555f6
@@ -32,11 +32,14 @@ using System;
 
 namespace System.Runtime.InteropServices
 {
-
-       [ComVisible(false)]
+       [Obsolete]
+       [StructLayout (LayoutKind.Explicit, CharSet = CharSet.Unicode)]
        public struct BINDPTR {
+               [FieldOffset (0)] 
                public IntPtr lpfuncdesc;
+               [FieldOffset (0)]
                public IntPtr lptcomp;
+               [FieldOffset (0)]
                public IntPtr lpvardesc;
        }
 }