2017-08-03 15:35:22 +02:00
|
|
|
|
/*
|
2023-03-08 00:30:20 +01:00
|
|
|
|
* Copyright (c) 2023 ETH Zürich, Educational Development and Technology (LET)
|
2017-08-03 15:35:22 +02:00
|
|
|
|
*
|
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-10-01 11:30:53 +02:00
|
|
|
|
namespace SafeExamBrowser.WindowsApi.Contracts.Events
|
2017-08-03 15:35:22 +02:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
2019-10-01 11:30:53 +02:00
|
|
|
|
/// The callback for a keyboard hook. Return <c>true</c> to consume (i.e. block) the user input, otherwise <c>false</c>.
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// </summary>
|
2019-10-01 11:30:53 +02:00
|
|
|
|
public delegate bool KeyboardHookCallback(int keyCode, KeyModifier modifier, KeyState state);
|
2017-08-03 15:35:22 +02:00
|
|
|
|
}
|