C# Class RightKeyboard.Win32.API

Exposes the Win32 API functions
显示文件 Open project: agabor/RightKeyboard

Public Methods

Method 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

Method 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 method

public static GetKeyboardLayoutList ( ) : System.IntPtr[]
return System.IntPtr[]

GetRawInputData() public static method

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

GetRawInputDeviceList() public static method

public static GetRawInputDeviceList ( ) : RAWINPUTDEVICELIST[]
return RAWINPUTDEVICELIST[]

GetRawInputDeviceName() public static method

public static GetRawInputDeviceName ( IntPtr deviceHandle ) : string
deviceHandle System.IntPtr
return string

LoadKeyboardLayout() public static method

public static LoadKeyboardLayout ( ushort layout, uint flags ) : IntPtr
layout ushort
flags uint
return System.IntPtr

RegisterRawInputDevices() public static method

public static RegisterRawInputDevices ( ) : bool
return bool