WINFUNCTYPE comes from ctypes, not ctypes.wintypes.

This is probably just a bug that happens to work on Python 2.