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

📄 vxddebug.h

📁 Win9x下文件系统驱动的例子(EXT2)源代码。
💻 H
字号:
#ifndef __VXDDEBUG_H
#define __VXDDEBUG_H

#define DOUT_CONSOLE    1		/* dumps to console */
#define DOUT_FILE		2		/* dumps to console */
#define DOUT_NO_EOL 	0x8000	/* don't appends an eol */


#define D_ALWAYS		0x00
#define D_ERROR			0x01
#define D_OPENCLOSE		0x02
#define D_READ			0x04
#define D_WRITE			0x08
#define D_SEEK			0x10
#define D_END			0x10
#define D_ALL (D_END * 2 - 1)



/*********************************
 *
 * INTERFACE ROUNTINES
 *
 **********************************/


#ifdef DEBUG
int		VxdDebugSetLevel(int NewLevel);
int		VxdDebugGetLevel();
int		VxdDebugSetOut(int NewOut, char *DebugFileName);
void	VxdDebugInitialise(int Level, int Out, char *DebugFileName);
void	VxdDebugCleanup();
void	VxdDebugFlush();
void __cdecl VxdDebugPrint(int Flag, char *Format, ...);
#else
#define VxdDebugSetLevel	//
#define VxdDebugSetOut()	//
#define VxdDebugInitialise	//
#define VxdDebugCleanup()	//
#define VxdDebugPrint()		//
#define VxdDebugFlush()		//
#define VxdDebugGetLevel()	//
#pragma warning(disable:4002)	
#endif

#endif			/* __VXDDEBUG_H */

⌨️ 快捷键说明

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