This source file includes following definitions.
- GetTouchInputInfoWrapper
#include "ui/base/win/touch_input.h"
namespace ui {
BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle,
UINT count,
PTOUCHINPUT pointer,
int size) {
typedef BOOL(WINAPI *GetTouchInputInfoPtr)(HTOUCHINPUT, UINT,
PTOUCHINPUT, int);
static GetTouchInputInfoPtr get_touch_input_info_func =
reinterpret_cast<GetTouchInputInfoPtr>(
GetProcAddress(GetModuleHandleA("user32.dll"), "GetTouchInputInfo"));
if (get_touch_input_info_func)
return get_touch_input_info_func(handle, count, pointer, size);
return FALSE;
}
}