[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/Microsoft/Win32 Win32KeyProv
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/Microsoft/Win32 Win32KeyProvider.cs,1.2,1.3 |
Date: |
Thu, 03 Apr 2003 21:58:22 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/Microsoft/Win32
In directory subversions:/tmp/cvs-serv9169/runtime/Microsoft/Win32
Modified Files:
Win32KeyProvider.cs
Log Message:
Use the correct form of the "preservesig" attributes.
Index: Win32KeyProvider.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/Microsoft/Win32/Win32KeyProvider.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Win32KeyProvider.cs 4 Apr 2003 02:50:00 -0000 1.2
--- Win32KeyProvider.cs 4 Apr 2003 02:58:20 -0000 1.3
***************
*** 29,32 ****
--- 29,33 ----
using System.Collections;
using System.Runtime.InteropServices;
+ using System.Runtime.CompilerServices;
// This class implements registry functionality for Win32 systems.
***************
*** 758,768 ****
[DllImport("advapi32.dll",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegCloseKey(IntPtr hKey);
[DllImport("advapi32.dll", EntryPoint="RegConnectRegistryW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern public static int RegConnectRegistry
([MarshalAs(UnmanagedType.LPWStr)] String
lpMachineName,
--- 759,769 ----
[DllImport("advapi32.dll",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegCloseKey(IntPtr hKey);
[DllImport("advapi32.dll", EntryPoint="RegConnectRegistryW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern public static int RegConnectRegistry
([MarshalAs(UnmanagedType.LPWStr)] String
lpMachineName,
***************
*** 770,775 ****
[DllImport("advapi32.dll", EntryPoint="RegCreateKeyW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegCreateKey
(IntPtr hkey,
--- 771,776 ----
[DllImport("advapi32.dll", EntryPoint="RegCreateKeyW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegCreateKey
(IntPtr hkey,
***************
*** 778,783 ****
[DllImport("advapi32.dll", EntryPoint="RegDeleteKeyW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegDeleteKey
(IntPtr hkey,
--- 779,784 ----
[DllImport("advapi32.dll", EntryPoint="RegDeleteKeyW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegDeleteKey
(IntPtr hkey,
***************
*** 785,790 ****
[DllImport("advapi32.dll", EntryPoint="RegDeleteValueW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegDeleteValue
(IntPtr hkey,
--- 786,791 ----
[DllImport("advapi32.dll", EntryPoint="RegDeleteValueW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegDeleteValue
(IntPtr hkey,
***************
*** 792,797 ****
[DllImport("advapi32.dll", EntryPoint="RegEnumKeyExW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegEnumKeyEx
(IntPtr hkey, uint index,
--- 793,798 ----
[DllImport("advapi32.dll", EntryPoint="RegEnumKeyExW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegEnumKeyEx
(IntPtr hkey, uint index,
***************
*** 801,806 ****
[DllImport("advapi32.dll", EntryPoint="RegEnumValueW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegEnumValue
(IntPtr hkey, uint index,
--- 802,807 ----
[DllImport("advapi32.dll", EntryPoint="RegEnumValueW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegEnumValue
(IntPtr hkey, uint index,
***************
*** 810,820 ****
[DllImport("advapi32.dll",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegFlushKey(IntPtr hKey);
[DllImport("advapi32.dll", EntryPoint="RegOpenKeyExW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegOpenKeyEx
(IntPtr hkey,
--- 811,821 ----
[DllImport("advapi32.dll",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegFlushKey(IntPtr hKey);
[DllImport("advapi32.dll", EntryPoint="RegOpenKeyExW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegOpenKeyEx
(IntPtr hkey,
***************
*** 823,828 ****
[DllImport("advapi32.dll", EntryPoint="RegQueryInfoKeyW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegQueryInfoKey
(IntPtr hkey,
--- 824,829 ----
[DllImport("advapi32.dll", EntryPoint="RegQueryInfoKeyW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegQueryInfoKey
(IntPtr hkey,
***************
*** 834,839 ****
[DllImport("advapi32.dll", EntryPoint="RegQueryValueExW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegQueryValueEx
(IntPtr hkey,
--- 835,840 ----
[DllImport("advapi32.dll", EntryPoint="RegQueryValueExW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegQueryValueEx
(IntPtr hkey,
***************
*** 843,848 ****
[DllImport("advapi32.dll", EntryPoint="RegQueryValueExW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegQueryValueEx
(IntPtr hkey,
--- 844,849 ----
[DllImport("advapi32.dll", EntryPoint="RegQueryValueExW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegQueryValueEx
(IntPtr hkey,
***************
*** 852,857 ****
[DllImport("advapi32.dll", EntryPoint="RegSetValueExW",
! CallingConvention=CallingConvention.Winapi,
! PreserveSig=true)]
extern private static int RegSetValueEx
(IntPtr hkey,
--- 853,858 ----
[DllImport("advapi32.dll", EntryPoint="RegSetValueExW",
! CallingConvention=CallingConvention.Winapi)]
! [MethodImpl(MethodImplOptions.PreserveSig)]
extern private static int RegSetValueEx
(IntPtr hkey,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/Microsoft/Win32 Win32KeyProvider.cs,1.2,1.3,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/Microsoft/Win32 IRegistryKeyProvider.cs,1.1,1.2 MemoryKeyProvider.cs,1.1,1.2 Registry.cs,1.1,1.2 RegistryKey.cs,1.1,1.2Win32KeyProvider.cs,1.1,1.2
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.806,1.807
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/Microsoft/Win32 IRegistryKeyProvider.cs,1.1,1.2 MemoryKeyProvider.cs,1.1,1.2 Registry.cs,1.1,1.2 RegistryKey.cs,1.1,1.2Win32KeyProvider.cs,1.1,1.2
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.806,1.807
- Index(es):