Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Anyway to determine path being monitored with Win32::ChangeNotify?

by GrandFather (Sage)
on Nov 13, 2014 at 03:41 UTC ( #1107049=note: print w/replies, xml ) Need Help??


in reply to Anyway to determine path being monitored with Win32::ChangeNotify?

Documentation for Windows API functions FindFirstChangeNotification and FindNextChangeNotification which are wrapped up by the module states:

"these functions do not indicate the actual change"

The documentation suggests ReadDirectoryChangesW be used to "retrieve information about the specific change". But that doesn't help your case unless you can monitor the parent directory instead, and I can't find a Perl module that wraps up ReadDirectoryChangesW in any case. You can probably call ReadDirectoryChangesW directly using Win32::API if that solves a problem for you.

Perl is the programming world's equivalent of English
  • Comment on Re: Anyway to determine path being monitored with Win32::ChangeNotify?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1107049]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2018-08-20 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (191 votes). Check out past polls.

    Notices?