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

📄 pgpgeneric.c

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 C
字号:
/*____________________________________________________________________________
	Copyright (C) 2002 PGP Corporation
	All rights reserved.

	pgpGeneric.c - handle "generic" driver requests
	

	$Id: pgpGeneric.c,v 1.3 2002/08/06 20:11:19 dallen Exp $
____________________________________________________________________________*/

#include "pgpUDx.h"
#include "PGPsdkDriver.h"
#include "pgpDriverVersion.h"
#include "pgpGeneric.h"

//	______________________________________________________
//
//	This is the function that processes the DeviceIoControl
//	call which is coming down from the Win32 application.

VOID
pgpGenericProcessOperation (
    IN PPGPGENERICSTRUCT	ppgs,
	IN ULONG				ulStatusFlags)
{
	switch (ppgs->ulOperation) {

	case kPGPUDOperation_QueryVersion :
		strcpy ((CHAR*)&ppgs->ucBuffer[0], VERSIONSTRING);
		ppgs->ulError = kPGPUDError_NoErr;
		break;

	case kPGPUDOperation_QueryStatus :
		ppgs->ulFlags = ulStatusFlags;
		ppgs->ulError = kPGPUDError_NoErr;
		break;

	default :
		ppgs->ulError = kPGPUDError_UndefinedOperation;
		break;
	}
}

⌨️ 快捷键说明

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