C# Class KeyboardLayouts.VirtualKey

Datei anzeigen Open project: pwsafe/pwsafe Class Usage Examples

Public Methods

Method Description
GetShiftState ( ShiftState shiftState, bool capsLock ) : string
SetShiftState ( ShiftState shiftState, string value, bool isDeadKey, bool capsLock ) : void
VirtualKey ( ) : System
VirtualKey ( IntPtr hkl, KeysEx virtualKey ) : System
VirtualKey ( IntPtr hkl, uint scanCode ) : System

Private Methods

Method Description
MapVirtualKeyEx ( uint uCode, uint uMapType, IntPtr dwhkl ) : uint

Method Details

GetShiftState() public method

public GetShiftState ( ShiftState shiftState, bool capsLock ) : string
shiftState ShiftState
capsLock bool
return string

SetShiftState() public method

public SetShiftState ( ShiftState shiftState, string value, bool isDeadKey, bool capsLock ) : void
shiftState ShiftState
value string
isDeadKey bool
capsLock bool
return void

VirtualKey() public method

public VirtualKey ( ) : System
return System

VirtualKey() public method

public VirtualKey ( IntPtr hkl, KeysEx virtualKey ) : System
hkl System.IntPtr
virtualKey KeysEx
return System

VirtualKey() public method

public VirtualKey ( IntPtr hkl, uint scanCode ) : System
hkl System.IntPtr
scanCode uint
return System