Call a DLL function whenever a file is accessed on Windows 7
$30-5000 USD
Dibayar saat pengiriman
I want an application that hooks to the Windows 7 kernel and calls a function in a DLL file whenever a file is accessed.
The function should be informed of: file name, file access mode, PID of accessing application.
## Deliverables
I will write a DLL file which will contain one function, in the following form:
`int accessTrigger(pchar fileName, int accessMode, int PID)<br />`This function will return either 0 or 1, letting the caller know whether to allow the application to access the file (return code 0) or deny access to the file (return code 1). I need an application that will call this function and will take action as instructed by this function. The application should call this function whenever it finds a new (fileName, accessMode, PID) triplet.
The application should run on both Windows XP SP2 32-bit and Windows 7 32-bit or there should be two applications for each of them. The DLL should reside in the same directory as the application(s) and should be named "[url removed, login to view]". The application(s) should not depend on any other external resources, except for the standard Windows XP SP2 32-bit system files and the standard Windows 7 32-bit system files (this means: no .NET or Java or other similar programming languages).
Please keep the source code concise. The resulting application(s) should be small (I would prefer something less than 200KB (each)).
ID Proyek: #3824772