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

📄 pgpmilliseconds.c

📁 vc环境下的pgp源码
💻 C
字号:
/*____________________________________________________________________________
	Copyright (C) 1998 Network Associates, Inc.
	All rights reserved.
	
	$Id: pgpMilliseconds.c,v 1.2 1998/11/03 13:14:48 pbj Exp $
____________________________________________________________________________*/
#include "pgpPFLConfig.h"

#if PGP_MACINTOSH
#include <OpenTransport.h>
#elif PGP_WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif

#include "pgpMilliseconds.h"

	PGPUInt32
PGPGetMilliseconds()
{
	/* Returns milliseconds since system startup */
#if PGP_MACINTOSH
	OTTimeStamp timeStamp;
	
	OTGetTimeStamp( &timeStamp );
	return OTTimeStampInMilliseconds( &timeStamp );
#elif PGP_WIN32
	return GetTickCount();
#else
	pgpAssert( 0 );	/* not implemented */
#endif
}


/*__Editor_settings____

	Local Variables:
	tab-width: 4
	End:
	vi: ts=4 sw=4
	vim: si
_____________________*/

⌨️ 快捷键说明

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