adapt the plan for Win32