pgpdriver9x.h
来自「可以实现对邮件的加密解密以及签名」· C头文件 代码 · 共 75 行
H
75 行
/*____________________________________________________________________________
Copyright (C) 2002 PGP Corporation
All rights reserved.
pgpDriver9x.h - PGP 95/98 VxD device driver header file
$Id: pgpDriver9x.h,v 1.4 2002/08/06 20:11:20 dallen Exp $
____________________________________________________________________________*/
#ifndef _pgpDriver9x_h
#define _pgpDriver9x_h
#define IN
#define OUT
#include "pgpCache.h"
#include "pgpInactivity.h"
#include "pgpMemLock9x.h"
#define MOUSE_SKIP 64
#define KEYBOARD_SKIP 16
#define MOUSE_DEVICE_NAME L"\\Device\\PointerClass0"
#define KBD_DEVICE_NAME L"\\Device\\KeyboardClass0"
#define PGPUTIL_DEV 0x0000
#define KBD_ENTROPY_DEV 0x0001
#define MOUSE_ENTROPY_DEV 0x0002
// instruct compiler to use inline version of function
#pragma intrinsic(memset)
// Win9x-specific critical section structure
typedef struct {
PVMMMUTEX mutex;
} PGPDRIVERCRITICALSECTION;
// driver context data structure
typedef struct {
ULONG ulStatusFlags;
INT iKBDCount;
INT iMouseCount;
PGPDRIVERCRITICALSECTION csInactivity;
PGPDRIVERCRITICALSECTION csCache;
PGPDRIVERCRITICALSECTION csEntropy;
PGPDRIVERCRITICALSECTION csMemlock;
PGPINACTIVITY inactivity;
PGPCACHE cacheSign;
PGPCACHE cacheDecrypt;
PGPMEMLOCK memlock;
} PGPUTILCONTEXT, *PPGPUTILCONTEXT;
// macros
// PGPdbgPrint prints a message to the debugging console
#ifndef PGPdbgPrint
#if PGP_DEBUG
#define PGPdbgPrint(arg) Debug_Printf arg
#else
#define PGPdbgPrint(arg)
#endif
#if PGP_DEBUG && PGP_DEBUG_VERBOSE
#define PGPdbgVerbosePrint(arg) Debug_Printf arg
#else
#define PGPdbgVerbosePrint(arg)
#endif
#endif
#endif //_pgpDriver9x_h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?