Managed Wrapper around the DirectDraw 7 Interface
Information:
In order to compile the project you’ll need the August 2007 DirectX SDK, which is the latest version of the DirectX SDK that ships with the necessary headers and libraries referenced by the project for DirectDraw support.
If you simply want to use the library in your own application the pre-compiled binary can be downloaded here. From your application choose "Add Reference", then browse to the physical library location, and you’re free to use it like any other CLR type.
For more information visit:
http://bmoretz.wordpress.com/2011/06/25/native-and-managed-interoperability-directdraw-via-cli-c/