terminal/src/interactivity/win32/InputServices.hpp

30 lines
723 B
C++
Raw Normal View History

/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- InputServices.hpp
Abstract:
- Win32 implementation of the IInputServices interface.
Author(s):
- Hernan Gatta (HeGatta) 29-Mar-2017
--*/
#include "../inc/IInputServices.hpp"
namespace Microsoft::Console::Interactivity::Win32
{
class InputServices final : public IInputServices
{
public:
// Inherited via IInputServices
~InputServices() = default;
UINT MapVirtualKeyW(UINT uCode, UINT uMapType);
SHORT VkKeyScanW(WCHAR ch);
SHORT GetKeyState(int nVirtKey);
BOOL TranslateCharsetInfo(DWORD* lpSrc, LPCHARSETINFO lpCs, DWORD dwFlags);
};
}