syscall_windows.go 368 B

12345678910
  1. package windows
  2. import "golang.org/x/sys/windows"
  3. var NewLazySystemDLL = windows.NewLazySystemDLL
  4. type Handle = windows.Handle
  5. //sys GetKeyboardLayout(threadId uint32) (hkl Handle) = user32.GetKeyboardLayout
  6. //sys ToUnicodeEx(vkey uint32, scancode uint32, keystate *byte, pwszBuff *uint16, cchBuff int32, flags uint32, hkl Handle) (ret int32) = user32.ToUnicodeEx