pgpmisc.h

来自「可以实现对邮件的加密解密以及签名」· C头文件 代码 · 共 50 行

H
50
字号
/*____________________________________________________________________________
	Copyright (C) 2002 PGP Corporation
	All rights reserved.


	$Id: pgpMisc.h,v 1.2 2002/08/06 20:11:19 dallen Exp $
____________________________________________________________________________*/

#ifndef	_pgpMisc_h
#define _pgpMisc_h

#define	MUTEX		0
#define SPINLOCK	1

PVOID
pgpDriverSecureAlloc (
		ULONG	ulNumBytes);

VOID
pgpDriverSecureFree (
		PVOID p);

VOID
pgpDriverEnterCriticalSection (
		PVOID	pSection,
		ULONG	ulType);

ULONG
pgpDriverTryToEnterCriticalSection (
		PVOID	pSection,
		ULONG	ulType);

VOID
pgpDriverLeaveCriticalSection (
		PVOID	pSection,
		ULONG	ulType);

VOID
pgpDriverInitCriticalSection (
		PVOID	pSection);

VOID
pgpDriverCleanupCriticalSection (
		PVOID	pSection);

VOID
pgpDriverGetHiResTime (
		PULONG	pulLowPart);

#endif //_pgpMisc_h

⌨️ 快捷键说明

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