package windows import "golang.org/x/sys/windows" // NewLazySystemDLL is a type alias for windows.NewLazySystemDLL. var NewLazySystemDLL = windows.NewLazySystemDLL // Handle is a type alias for windows.Handle. type Handle = windows.Handle //sys ReadConsoleInput(console Handle, buf *InputRecord, toread uint32, read *uint32) (err error) = kernel32.ReadConsoleInputW //sys PeekConsoleInput(console Handle, buf *InputRecord, toread uint32, read *uint32) (err error) = kernel32.PeekConsoleInputW //sys GetNumberOfConsoleInputEvents(console Handle, numevents *uint32) (err error) = kernel32.GetNumberOfConsoleInputEvents //sys FlushConsoleInputBuffer(console Handle) (err error) = kernel32.FlushConsoleInputBuffer