• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef UI_BASE_WIN_TOUCH_INPUT_H_
6 #define UI_BASE_WIN_TOUCH_INPUT_H_
7 
8 #include <windows.h>
9 
10 #include "ui/base/ui_base_export.h"
11 
12 namespace ui {
13 
14 // Wrapper for GetTouchInputInfo, which is not defined before Win7. For
15 // earlier OS's, this function returns FALSE.
16 UI_BASE_EXPORT BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle,
17                                              UINT count,
18                                              PTOUCHINPUT pointer,
19                                              int size);
20 
21 }  // namespace ui
22 
23 #endif  // UI_BASE_WIN_TOUCH_INPUT_H_
24