File Read/Write Determination
-
Hi Anyone know how to determine if a file is opened as Read or Write through any of the APIs... I need to know as currently i using 2 flags to determine from the class. Any help will be appreciated. Thankyou
I am not sure, but you may have a try on GetFileInformationByHandle(...). Maxwell Chen
-
Hi Anyone know how to determine if a file is opened as Read or Write through any of the APIs... I need to know as currently i using 2 flags to determine from the class. Any help will be appreciated. Thankyou
IceBerG71 wrote: Anyone know how to determine if a file is opened as Read or Write through any of the APIs... Do you really need that level of granularity? It's usually sufficient to know whether the file is opened exclusively or not.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)