OLD | NEW |
---|---|
(Empty) | |
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 #include "ui/base/win/touch_input.h" | |
6 | |
7 namespace ui { | |
8 | |
9 UI_EXPORT BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle, UINT count, | |
sky
2013/03/08 21:58:58
Same comment about each param on its own line.
girard
2013/03/11 15:04:42
Done.
| |
10 PTOUCHINPUT pointer, int size) { | |
11 typedef BOOL(WINAPI *GetTouchInputInfoPtr)(HTOUCHINPUT, UINT, | |
12 PTOUCHINPUT, int); | |
13 GetTouchInputInfoPtr get_touch_input_info_func = | |
14 reinterpret_cast<GetTouchInputInfoPtr>( | |
15 GetProcAddress(GetModuleHandleA("user32.dll"), "GetTouchInputInfo")); | |
16 if (get_touch_input_info_func) | |
17 return get_touch_input_info_func(handle, count, pointer, size); | |
18 return FALSE; | |
19 } | |
20 | |
21 } // namespace ui | |
OLD | NEW |