locked files under winnt

hi !
i wanted to find out what files are locked by windows nt
at a given time .
how can i find out if a given file is locked by winnt or not (i.e. if it is
in use)

-girish

www.sysinterals.com sample ‘nthandle’ would be a good place to start (that
is if you can’t simply do a CreateFile() call to determine a file’s locked
status).

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Girish Kulkarni [mailto:xxxxx@lightwave.com]
Sent: Monday, October 02, 2000 1:32 PM
To: NT Developers Interest List
Subject: [ntdev] locked files under winnt

hi !
i wanted to find out what files are locked by windows nt
at a given time .
how can i find out if a given file is locked by winnt or not (i.e. if it is
in use)