Adjust WinApi for using Facade