Add higher-level functions to make Win32 Go-friendly.