📄 clrand.c
字号:
/*____________________________________________________________________________
Copyright (C) 1998 Network Associates, Inc.
All rights reserved.
CLrand.c - post dialog to get entropy from mouse and keyboard
$Id: CLrand.c,v 1.7 1998/08/11 14:43:13 pbj Exp $
____________________________________________________________________________*/
#include "pgpPFLConfig.h"
// project header files
#include "pgpclx.h"
// pgp header files
#include "pgpRandomPool.h"
#include "pgpUserInterface.h"
// ______________________________________________
//
// Entropy collection routine -- posts dialog for
// mouse/keyboard entropy collection.
PGPError PGPclExport
PGPclRandom (
PGPContextRef context,
HWND hwnd,
UINT uNeeded)
{
PGPError err = kPGPError_NoErr;
if ((uNeeded != 0) ||
!PGPGlobalRandomPoolHasMinimumEntropy ())
{
err=PGPCollectRandomDataDialog (
context,
uNeeded,
PGPOUIParentWindowHandle (context, hwnd),
PGPOLastOption (context));
}
return err;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -