Splitting out shared Win16/Win32 code