C# Class Binarysharp.MemoryManagement.Windows.Keyboard.MessageKeyboard

Class defining a virtual keyboard using the API Message.
Inheritance: BaseKeyboard
Afficher le fichier Open project: ZenLulz/MemorySharp

Méthodes publiques

Méthode Description
MessageKeyboard ( RemoteWindow window ) : System
Press ( Keys key ) : void

Presses the specified virtual key to the window.

Release ( Keys key ) : void

Releases the specified virtual key to the window.

Write ( char character ) : void

Writes the specified character to the window.

Private Methods

Méthode Description
MakeKeyParameter ( Keys key, bool keyUp ) : UIntPtr

Makes the lParam for a key depending on several settings.

MakeKeyParameter ( Keys key, bool keyUp, bool fRepeat, uint cRepeat, bool altDown, bool fExtended ) : UIntPtr

Makes the lParam for a key depending on several settings.

KeyDown resources: http://msdn.microsoft.com/en-us/library/windows/desktop/ms646280%28v=vs.85%29.aspx KeyUp resources: http://msdn.microsoft.com/en-us/library/windows/desktop/ms646281%28v=vs.85%29.aspx

Method Details

MessageKeyboard() public méthode

public MessageKeyboard ( RemoteWindow window ) : System
window RemoteWindow
Résultat System

Press() public méthode

Presses the specified virtual key to the window.
public Press ( Keys key ) : void
key Keys The virtual key to press.
Résultat void

Release() public méthode

Releases the specified virtual key to the window.
public Release ( Keys key ) : void
key Keys The virtual key to release.
Résultat void

Write() public méthode

Writes the specified character to the window.
public Write ( char character ) : void
character char The character to write.
Résultat void