New Watch (gb.inotify)

Dim hWatch As Watch
hWatch = New Watch ( Path As String [ , NoFollowLink As Boolean, Events As Integer ] ) [ As "EventName" ]

Create a new watch for the given path.

If the NoFollowLink parameter is set and true, symlinks are not followed.

Events is a bitmask specifying which events are to be reported at all. The default mask is determined by the event handlers defined for this object.