* IAppDomainFactory.cs: added missing marshalling attributes
authorGert Driesen <drieseng@users.sourceforge.net>
Fri, 18 Jun 2004 17:22:44 +0000 (17:22 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Fri, 18 Jun 2004 17:22:44 +0000 (17:22 -0000)
* IISAPIRuntime.cs: added missing marshalling attributes

svn path=/trunk/mcs/; revision=29900

mcs/class/System.Web/System.Web.Hosting/ChangeLog
mcs/class/System.Web/System.Web.Hosting/IAppDomainFactory.cs
mcs/class/System.Web/System.Web.Hosting/IISAPIRuntime.cs

index 2403ed92fbf31453a0bb7e7b1cc8975e51bf8db5..d0eb50a37fc3c1fb10f72e7e6f9aafd9222b0fc3 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * IAppDomainFactory.cs: added missing marshalling attributes
+       * IISAPIRuntime.cs: added missing marshalling attributes
+
 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * AppDomainFactory.cs: set the Dynamic base for the AppDomain.
index 0160dd3251d01292dbb51b349602e69144ad6c6b..d6bf3ae89eef4888103d8efe01b1631f6493ab3a 100644 (file)
@@ -14,14 +14,15 @@ namespace System.Web.Hosting
 {
        [Guid ("e6e21054-a7dc-4378-877d-b7f4a2d7e8ba")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
-        public interface IAppDomainFactory
-        {
-                object Create ([In] string module,
-                              [In] string typeName,
-                              [In] string appId,
-                              [In] string appPath,
-                              [In] string strUrlOfAppOrigin,
-                              [In] int iZone);
-        }
+       public interface IAppDomainFactory
+       {
+               [return: MarshalAs (UnmanagedType.Interface)]
+               object Create ([In, MarshalAs(UnmanagedType.BStr)] string module,
+                              [In, MarshalAs(UnmanagedType.BStr)] string typeName,
+                              [In, MarshalAs(UnmanagedType.BStr)] string appId,
+                              [In, MarshalAs(UnmanagedType.BStr)] string appPath,
+                              [In, MarshalAs(UnmanagedType.BStr)] string strUrlOfAppOrigin,
+                              [In, MarshalAs(UnmanagedType.I4)] int iZone);
+       }
 }
 
index 6f553a3b0ca0d8833936f9c28a7bacd2fecec588..42b6c4217a83074365adabe0354569a0245e1936 100644 (file)
@@ -14,11 +14,12 @@ namespace System.Web.Hosting
 {
        [Guid ("c4918956-485b-3503-bd10-9083e3f6b66c")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
-        public interface IISAPIRuntime
-        {
-                void DoGCCollect ();
-                int ProcessRequest ([In] IntPtr ecb, [In] int useProcessModel);
-                void StartProcessing ();
-                void StopProcessing ();
-        }
+       public interface IISAPIRuntime
+       {
+               void DoGCCollect ();
+               [return: MarshalAs (UnmanagedType.I4)]
+               int ProcessRequest ([In] IntPtr ecb, [In, MarshalAs(UnmanagedType.I4)] int useProcessModel);
+               void StartProcessing ();
+               void StopProcessing ();
+       }
 }