Writing a Password Filter for Windows in C# and registering the dll
Okie, I found that it cannot be (should not be) done.
"The behavior of any high-level language, framework, or runtime in the components that are loaded by core operating system processes is undefined."
http://support.microsoft.com/default.aspx?scid=kb;en-us;841927