Merge branch 'master' into config-checks-ipv6
[mono.git] / mcs / class / corlib / Microsoft.Win32 / Win32ResultCode.cs
index fa96d1f97f8b8bf1655e10d4b09f42d0b06632f7..57da53e296383148f925609e8d1f0949b953b39e 100644 (file)
@@ -30,7 +30,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if !NET_2_1
+#if WIN_PLATFORM || XAMMAC_4_5
 
 using System;
 using System.Runtime.InteropServices;
@@ -52,13 +52,15 @@ namespace Microsoft.Win32
                public const int Success = 0;
                public const int FileNotFound = 2;
                public const int AccessDenied = 5;
+               public const int InvalidHandle = 6;
                public const int InvalidParameter = 87;
                public const int MoreData = 234;
                public const int NetworkPathNotFound = 53;
                public const int NoMoreEntries = 259;
                public const int MarkedForDeletion = 1018;
+               public const int ChildMustBeVolatile = 1021;
        }
 }
 
-#endif // NET_2_1
+#endif // MOBILE