Win32-2.13.0.0: A binding to Windows Win32 API.

Copyright2013 shelarcy
LicenseBSD-style
Maintainershelarcy@gmail.com
StabilityProvisional
PortabilityNon-portable (Win32 API)
Safe HaskellSafe
LanguageHaskell2010

System.Win32.Automation.Input

Description

Provide sendInput function and INPUT types.

Documentation

sendInput :: [INPUT] -> IO UINT Source #

sendInputPtr :: Int -> Ptr INPUT -> IO UINT Source #

Raw pointer of array version of sendInput . Use this function to support non-list sequence.

makeKeyboardInput :: VKey -> Maybe DWORD -> IO INPUT Source #

type PINPUT = Ptr INPUT Source #

type LPINPUT = Ptr INPUT Source #

data INPUT Source #

Constructors

Instances
Instance details

Defined in System.Win32.Automation.Input

Methods

showsPrec :: Int -> INPUT -> ShowS #

show :: INPUT -> String #

showList :: [INPUT] -> ShowS #

Instance details

Defined in System.Win32.Automation.Input

Methods

sizeOf :: INPUT -> Int #

alignment :: INPUT -> Int #

peekElemOff :: Ptr INPUT -> Int -> IO INPUT #

pokeElemOff :: Ptr INPUT -> Int -> INPUT -> IO () #

peekByteOff :: Ptr b -> Int -> IO INPUT #

pokeByteOff :: Ptr b -> Int -> INPUT -> IO () #

peek :: Ptr INPUT -> IO INPUT #

poke :: Ptr INPUT -> INPUT -> IO () #

type PHARDWAREINPUT = Ptr HARDWAREINPUT Source #

data HARDWAREINPUT Source #

Constructors

Fields

Instances

getMessageExtraInfo :: IO LPARAM Source #

setMessageExtraInfo :: LPARAM -> IO LPARAM Source #

module System.Win32.Automation.Input.Key

data MOUSEINPUT Source #

Instances
Instance details

Defined in System.Win32.Automation.Input.Mouse

type PMOUSEINPUT = Ptr MOUSEINPUT Source #

xBUTTON1 :: DWORD Source #

xBUTTON2 :: DWORD Source #

mOUSEEVENTF_ABSOLUTE :: DWORD Source #

mOUSEEVENTF_MOVE :: DWORD Source #

mOUSEEVENTF_LEFTDOWN :: DWORD Source #

mOUSEEVENTF_LEFTUP :: DWORD Source #

mOUSEEVENTF_RIGHTDOWN :: DWORD Source #

mOUSEEVENTF_RIGHTUP :: DWORD Source #

mOUSEEVENTF_MIDDLEDOWN :: DWORD Source #

mOUSEEVENTF_MIDDLEUP :: DWORD Source #

mOUSEEVENTF_WHEEL :: DWORD Source #

mOUSEEVENTF_XDOWN :: DWORD Source #

mOUSEEVENTF_XUP :: DWORD Source #

AltStyle によって変換されたページ (->オリジナル) /