You could use one of the methods outlines here:

http://www.devx.com/Intel/Article/21023/2046

Persoinally, I have used the InterceptApi, which can be used for any type of DLL not just system ones.