[DllImport("advapi32.dll", SetLastError=true)]
static extern int RegNotifyChangeKeyValue(IntPtr hKey, bool watchSubtree,
int dwNotifyFilter, IntPtr hEvent, bool fAsynchronous);
Declare Function RegNotifyChangeKeyValue Lib "advapi32.dll" (hKey As IntPtr, _
watchSubtree As Boolean, dwNotifyFilter As Integer, hEvent As IntPtr,
fAsynchronous As Boolean) As Integer
Starting with the .NET Framework 2.0, the IntPtr parameters could be defined as SafeHandle instead.
Please add some!
Please add some!
Do you know one? Please contribute it!