tchstub.h

来自「win ce下的触摸屏驱动源代码」· C头文件 代码 · 共 56 行

H
56
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
#ifndef _TCHSTUB_H
#define _TCHSTUB_H

#define MERGE_WITH_CALLIG 1		// comment out to turn off (don't just set to 0)

#ifdef MERGE_WITH_CALLIG

#ifdef DEBUG
#define DEBUGTOUCH 1                    // this should be on by default for debugging to catch 
                                        //  hardware that is too slow, or driver speed problems
#endif

#define CGRTOUCH_ROM_VERSION   1

#define CGRTOUCH_MAJOR_VERSION   5
#define CGRTOUCH_MINOR_VERSION   1
#define CGRTOUCH_RELEASE         5

#define MYDEBUGMSG(cond,printf_exp)  {}
#define MYERRORMSG(cond,printf_exp)  {}

extern HWND*   _phStubWnd;
extern HWND    _hClientWnd;
extern HWND    _hLastTouchFocusWnd;
extern short   _iClientFlags;
extern DWORD   _dwLastSendedTick;

extern DWORD    dwMinPauseBeforeClick;
extern int      iMaxClickDist;
extern int      iMaxDelayDist;
extern DWORD    dwMaxClickTime;
extern DWORD    dwMinStartDelayTime;
extern DWORD    dwMinInterDelayTime;
extern int		_cProcessNumb;
extern HANDLE*  _phinstDll;

#ifdef DEBUGTOUCH
extern BOOL _bNoDbgMsg;
#endif // DEBUGTOUCH

void CgrTouchStubInitialize(HANDLE  hinstDll);

#endif // MERGE_WITH_CALLIG

#endif // _TCHSTUB_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?