Check out : Wrapping Windows APIs with C++/CLI