⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 standardmouse.cpp

📁 这是一个ce5.0下usb hid的驱动源代码
💻 CPP
字号:
//
// 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.
//
/*++
   standardmouse.cpp   Created Aug 28 12003
--*/

#include "mouhidlib.h"

#ifdef __cplusplus
extern "C"{
#endif 


// These functions are designed to be overridden by other libraries that get linked in
//  (such as TraMouse.lib).  The library that gets linked in has an opportunity to
//  examine the mouse move, decide if it wants the point, and to return TRUE
//  if it wants the point.  If the library's version of this function does return TRUE,
//  then the mouse driver will ignore the point.
// The overloading gives us the cabability to link in a mouse hook without
//  having to pay the code size penalty if we don't use the mouse hook.


// The basic version in this file always does nothing and returns FALSE
//  to indicate that it does not need to hook any points.
BOOL DriverMouseHookInitialize(HANDLE hInstDll)
{
    return FALSE;
}

//
// The basic version in this file will always return false.
//  If the caller checks the return value of DriverMouseHookInitialize, they need never even call this
BOOL DriverMouseHook(DWORD dwFlags, DWORD dx, DWORD dy, DWORD dwData)
{
    return FALSE;
}

#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

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