?? hiddbg.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.
//
/*++
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
Module Name:
hid.hpp
Abstract:
USB Human Interface Device (HID) class driver sample.
Functions:
Notes:
--*/
#ifndef _HIDDBG_H_
#define _HIDDBG_H_
#ifdef DEBUG
extern DBGPARAM dpCurSettings;
#define SETFNAME(name) const TCHAR * const pszFname = (name)
// Debug zone defs
#define ZONE_ERROR DEBUGZONE(0)
#define ZONE_WARNING DEBUGZONE(1)
#define ZONE_INIT DEBUGZONE(2)
#define ZONE_FUNCTION DEBUGZONE(3)
#define ZONE_HID_DATA DEBUGZONE(4)
#define ZONE_USB_PARSE DEBUGZONE(8)
#define ZONE_USBCLIENT DEBUGZONE(15)
#else
#define SETFNAME(name)
#endif // DEBUG
#define UnusedParameter(x) x = x
#ifndef dim
#define dim(x) (sizeof(x)/sizeof(x[0]))
#endif
#endif // _HID_HPP_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -