?? rildebug.h
字號:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
//
#ifndef _RIL_DEBUG_H_
#define _RIL_DEBUG_H_
// Debug Zone defines
#define ZONEID_INIT 0
#define ZONEID_INFO 1
#define ZONEID_TRACE 2
#define ZONEID_NDIS 3
#define ZONEID_NDISPKTS 4
#define ZONEID_EVENTLOG 5
#define ZONEID_EONS 6
#define ZONEID_ATCMD 7
#define ZONEID_ALLOC 12
#define ZONEID_FUNCTION 13
#define ZONEID_WARNING 14
#define ZONEID_ERROR 15
#define ZONEMASK_INIT (1<<ZONEID_INIT)
#define ZONEMASK_INFO (1<<ZONEID_INFO)
#define ZONEMASK_TRACE (1<<ZONEID_TRACE)
#define ZONEMASK_NDIS (1<<ZONEID_NDIS)
#define ZONEMASK_NDISPKTS (1<<ZONEID_NDISPKTS)
#define ZONEMASK_EVENT_LOG (1<<ZONEID_EVENTLOG)
#define ZONEMASK_EONS (1<<ZONEID_EONS)
#define ZONEMASK_ATCMD (1<<ZONEID_ATCMD)
#define ZONEMASK_ALLOC (1<<ZONEID_ALLOC)
#define ZONEMASK_FUNCTION (1<<ZONEID_FUNCTION)
#define ZONEMASK_WARNING (1<<ZONEID_WARNING)
#define ZONEMASK_ERROR (1<<ZONEID_ERROR)
#ifdef DEBUG
// These macros are used as the first arg to DEBUGMSG.
#define ZONE_INIT DEBUGZONE(ZONEID_INIT)
#define ZONE_INFO DEBUGZONE(ZONEID_INFO)
#define ZONE_TRACE DEBUGZONE(ZONEID_TRACE)
#define ZONE_NDIS DEBUGZONE(ZONEID_NDIS)
#define ZONE_NDISPKTS DEBUGZONE(ZONEID_NDISPKTS)
#define ZONE_EVENTLOG DEBUGZONE(ZONEID_EVENTLOG)
#define ZONE_EONS DEBUGZONE(ZONEID_EONS)
#define ZONE_ATCMD DEBUGZONE(ZONEID_ATCMD)
#define ZONE_ALLOC DEBUGZONE(ZONEID_ALLOC)
#define ZONE_FUNCTION DEBUGZONE(ZONEID_FUNCTION)
#define ZONE_WARNING DEBUGZONE(ZONEID_WARNING)
#define ZONE_ERROR DEBUGZONE(ZONEID_ERROR)
#else
// For release configurations, these conditionals are always 0.
#define ZONE_INIT 0
#define ZONE_INFO 0
#define ZONE_TRACE 0
#define ZONE_FUNCTION 0
#define ZONE_NDIS 0
#define ZONE_NDISPKTS 0
#define ZONE_EVENTLOG 0
#define ZONE_EONS 0
#define ZONE_ATCMD 0
#define ZONE_ALLOC 0
#define ZONE_FUNCTION 0
#define ZONE_WARNING 0
#define ZONE_ERROR 0
#endif
#endif // _RIL_DEBUG_H_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -