complete win32-c version