For applications developed using the .NET framework, there is now a way to leverage the Windows 7 DirectX APIs (Direct3D10, Direct2D, DirectWrite, WIC and Direct3D 11) from your managed applications.  The Windows API Code Pack is now available on MSDN.  Using Windows API Code Pack you can now incorporate the power of DirectX into your applications without having to write managed-native interop code yourself.

The Windows® API Code Pack for Microsoft® .NET Framework provides a source code library that can be used to access some new Windows 7 features (and some existing features of older versions of Windows operating system) from managed code.  It also includes sample applications and API reference documents. You can build the included solution files to get the assemblies for use in your applications (pursuant to the attached license).  More information about the Windows API Code Pack is here.