?? mouhid.h
字號:
//
// 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 _MOUHID_H_
#define _MOUSEHID_H_
#include "hidpi.h"
#include "hiddi.h"
#define HID_MOUSE_SIG 'uoMH' // "HKbd"
// Hid mouse data structure. One for each mouse TLC.
typedef struct _HID_MOUSE {
DWORD dwSig;
HID_HANDLE hDevice;
PCHID_FUNCS pHidFuncs;
PHIDP_PREPARSED_DATA phidpPreparsedData;
HIDP_CAPS hidpCaps;
HANDLE hThread;
DWORD dwMaxUsages;
PUSAGE puPrevUsages;
PUSAGE puCurrUsages;
PUSAGE puBreakUsages;
PUSAGE puMakeUsages;
USAGE usageWheel; // The usage used to get the wheel movement.
#ifdef DEBUG
BOOL fhThreadInited;
#endif
} HID_MOUSE, *PHID_MOUSE;
#define VALID_HID_MOUSE( p ) \
( p && (HID_MOUSE_SIG == p->dwSig) )
#define HAS_NO_WHEEL 0
#define dim(x) (sizeof(x)/sizeof(x[0]))
#ifdef DEBUG
extern DBGPARAM dpCurSettings;
#define SETFNAME(name) const TCHAR * const pszFname = (name)
#define ZONE_ERROR DEBUGZONE(0)
#define ZONE_WARNING DEBUGZONE(1)
#define ZONE_INIT DEBUGZONE(2)
#define ZONE_FUNCTION DEBUGZONE(3)
#define ZONE_USAGES DEBUGZONE(4)
#else
#define SETFNAME(name)
#endif // DEBUG
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -