Wrap all Win32 API functions that we use.