add CoInit constants
fix last error formatting