osdiag_dev.h

来自「一个Linux下的软猫驱动」· C头文件 代码 · 共 48 行

H
48
字号
/* * Copyright (c) 2003-2004 Linuxant inc. * Copyright (c) 2001-2003 Conexant Systems, Inc. * * NOTE: The use and distribution of this software is governed by the terms in * the file LICENSE, which is included in the package. You must read this and * agree to these terms before using or distributing this software. * */#ifndef __OSDIAG_IOCTL_H__#define __OSDIAG_IOCTL_H__#include <linux/ioctl.h>#ifdef __cplusplusextern "C"{#endiftypedef struct {    DWORD		TimeStamp;    CNXT_DIAG_CODES	Code;    UINT32		Data;} SDK2K_NOTIFICATION, *PSDK2K_NOTIFICATION;typedef struct {    CNXT_DIAG_CTRL_CODES ControlCode;    PVOID Buffer;    UINT32 BufferSize;} SDK2K_IOCTLARGS, *PSDK2K_IOCTLARGS;#define SDK2K_IOC_CONFIGURE	_IOWR('2', 0, SDK2K_IOCTLARGS)#define SDK2K_IOC_CONTROL	_IOWR('2', 1, SDK2K_IOCTLARGS)#define SDK2K_IOC_MONITOR	_IOWR('2', 2, SDK2K_IOCTLARGS)#ifdef __KERNEL____shimcall__int OsDiagInit(void);__shimcall__void OsDiagExit(void);#endif#ifdef __cplusplus}#endif#endif /* __OSDIAG_IOCTL_H__ */

⌨️ 快捷键说明

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