C# Class RightKeyboard.Win32.API

Exposes the Win32 API functions
Afficher le fichier Open project: agabor/RightKeyboard

Méthodes publiques

Méthode Description
GetKeyboardLayoutList ( ) : System.IntPtr[]
GetRawInputData ( IntPtr hRawInput, uint uiCommand, RAWINPUTHEADER &data ) : uint
GetRawInputDeviceList ( ) : RAWINPUTDEVICELIST[]
GetRawInputDeviceName ( IntPtr deviceHandle ) : string
LoadKeyboardLayout ( ushort layout, uint flags ) : IntPtr
RegisterRawInputDevices ( ) : bool

Private Methods

Méthode Description
BroadcastSystemMessage ( uint dwFlags, uint &lpdwRecipients, uint uiMessage, IntPtr wParam, IntPtr lParam ) : int
GetKeyboardLayoutList ( int nBuff, IntPtr lpList ) : uint
GetRawInputData ( IntPtr hRawInput, uint uiCommand, IntPtr pData, int &pcbSize, int cbSizeHeader ) : uint
GetRawInputDeviceInfo ( IntPtr deviceHandle, uint command, [ data, uint &dataSize ) : int
GetRawInputDeviceList ( [ pRawInputDeviceList, uint &puiNumDevices, int cbSize ) : int
LoadKeyboardLayout ( [ pwszKLID, uint flags ) : IntPtr
RegisterRawInputDevices ( [ SizeParamIndex = 1)]RAWINPUTDEVICE[]pRawInputDevices, int uiNumDevices, int cbSize ) : bool
SystemParametersInfo ( uint uiAction, uint uiParam, IntPtr pvParam, uint fWinIni ) : bool

Method Details

GetKeyboardLayoutList() public static méthode

public static GetKeyboardLayoutList ( ) : System.IntPtr[]
Résultat System.IntPtr[]

GetRawInputData() public static méthode

public static GetRawInputData ( IntPtr hRawInput, uint uiCommand, RAWINPUTHEADER &data ) : uint
hRawInput System.IntPtr
uiCommand uint
data RAWINPUTHEADER
Résultat uint

GetRawInputDeviceList() public static méthode

public static GetRawInputDeviceList ( ) : RAWINPUTDEVICELIST[]
Résultat RAWINPUTDEVICELIST[]

GetRawInputDeviceName() public static méthode

public static GetRawInputDeviceName ( IntPtr deviceHandle ) : string
deviceHandle System.IntPtr
Résultat string

LoadKeyboardLayout() public static méthode

public static LoadKeyboardLayout ( ushort layout, uint flags ) : IntPtr
layout ushort
flags uint
Résultat System.IntPtr

RegisterRawInputDevices() public static méthode

public static RegisterRawInputDevices ( ) : bool
Résultat bool