LRESULT CALLBACK GetMsgProc(int nCode, WPARAM wParam, LPARAM lParam) { switch (lpMsg->message) { case WM_POINTERDOWN: UINT32 pointerId = GET_POINTERID_WPARAM(lpMsg->wParam); POINTER_INPUT_TYPE pointerType; GetPointerType(pointerId, &pointerType); if (pointerType == PT_TOUCH) { MessageBox(NULL, TEXT("Its a touch"), TEXT("In a DLL"), MB_OK); } return CallNextHookEx(NULL, nCode, wParam, lParam); } return CallNextHookEx(NULL, nCode, wParam, lParam); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)