Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: Any way to determine path being monitored with Win32::ChangeNotify? the mistery of inodes on windows

by soonix (Canon)
on Nov 13, 2014 at 12:12 UTC ( [id://1107095]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Any way to determine path being monitored with Win32::ChangeNotify? the mistery of inodes on windows
in thread Anyway to determine path being monitored with Win32::ChangeNotify?

MSDN says about FileID of GetFileInformationByHandle:
The file identifier and the volume serial number uniquely identify a file on a single computer. To determine whether two open handles represent the same file, combine the identifier and the volume serial number for each file and compare them.
So, it should be possible to simulate inodes on Win32, at least for systemscompilers where ints are big enough and/or someone has taken care that all variables holding inodes have a suitable size.
  • Comment on Re^6: Any way to determine path being monitored with Win32::ChangeNotify? the mistery of inodes on windows
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-18 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found