Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / widget / windows / InputDeviceUtils.h
blobd16698a03aec2ea2cd5d9d6e59fb9969a7b42f0a
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sts=2 sw=2 et cin: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_widget_InputDeviceUtils_h__
8 #define mozilla_widget_InputDeviceUtils_h__
10 #include <windows.h>
12 namespace mozilla {
13 namespace widget {
15 class InputDeviceUtils {
16 public:
17 static HDEVNOTIFY RegisterNotification(HWND aHwnd);
18 static void UnregisterNotification(HDEVNOTIFY aHandle);
20 // Returns the number of mouse type devices connected to this system.
21 static DWORD CountMouseDevices();
24 } // namespace widget
25 } // namespace mozilla
26 #endif // mozilla_widget_InputDeviceUtils_h__