Microsoft does not provide APIs for Windows Live Mail. Nektra has been providing APIs for Windows Live Mail, Windows Mail, and Outlook Express since 2003. These software components are being used by customers in more than 30 different countries.
Deviare is a software component which intercepts third-party applications so that their behavior can be modified or monitored. For example, you can intercept dangerous operating system calls, allowing it to monitor and stop security attacks
The code uses Python to intercept the CreateFile function on the kernel32.dll to forbid opening certain files. It hooks the CreateFile function for the notepad.exe application. The Python code is very small and to the point.