Change types of WPARAM, LPARAM and LRESULT according to MS SDK definitions.