finished all Win32 functions