Monitering Open Network Shared Files
Ok, sorry if the title didnt explain it well enough but here is my problem. I need to write a program that will monitor a few files on our Server here that are shared. I need to know when someone opens the file, closes the file, who opened it, and preferable with what, although I think that might be a slim chance. I know you can get this information in a static form with "openfiles" or "net files" and thier is an API call I think its something like EnumOpenFiles or some such. But all of that requirs polling, which i hate. Especialy since id need at minimum 10 seconds of percision and thats alot of polling... Id much rather find out thier is a Callback function or a Hook I can use to find out when a file is opened with Microsoft Networking. So thats my question, does anyone know of any such Callback or other equivelent methods. Thanks very much in advance!