added some missing definitions required by Direct2D
Added base DirectWrite and Direct2D definitions.

Be careful when using Direct2D, some functions may return corrupt data.
I am already working on that problem.