public static extern unsafe bool ReadDirectoryChangesW( IntPtr hDirectory, [Out] FileNotifyInformation[] lpBuffer, uint nBufferLength, [MarshalAs(UnmanagedType.Bool)] bool bWatchSubtree, FileNotifyFilter dwNotifyFilter, out uint lpBytesReturned, NativeOverlapped* lpOverlapped, FileIoCompletionRoutine lpCompletionRoutine);
public static extern FileNotificationHandle FindFirstChangeNotification( string lpPathName, [MarshalAs(UnmanagedType.Bool)] bool bWatchSubtree, FileNotifyFilter dwNotifyFilter);