[This is preliminary documentation and is subject to change.]
Registers a low-level keyboard hook, so keyboard events are obtained by this class.
Namespace: Tools.API.HooksAssembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public void RegisterHook() |
| Visual Basic |
|---|
Public Sub RegisterHook |
| Visual C++ |
|---|
public: void RegisterHook() |
| F# |
|---|
member RegisterHook : unit -> unit |
| JScript |
|---|
public function RegisterHook() |
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | Hook was already registered for this instance (Registered is true) |
| Tools.API..::..Win32APIException | An error ocured while obtaining the hook. |
| System..::..ObjectDisposedException | IsDisposed is true |