Rename structures and macros to use the same names as Win32.