add SetMapMode, DPtoLP, SetWindowExtEx, SetViewportExtEx
fix copyright & code style