Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1992.
//
// File: secmisc.h
//
// Contents: Helper functions and macros for security packages
//
// Classes:
//
// Functions:
//
// History: 10-Dec-91 Richardw Created
//
//--------------------------------------------------------------------------
#ifndef __SECMISC_H__
#define __SECMISC_H__
#ifdef __cplusplus
extern "C" { #endif
///////////////////////////////////////////////////////////////////////////
//
// Common TimeStamp Manipulation Functions
//
///////////////////////////////////////////////////////////////////////////
// Functions to get/set current local time, or time in UTC:
void GetCurrentTimeStamp(PLARGE_INTEGER);
#define SetMaxTimeStamp(ts) \
(ts).HighPart = 0x7FFFFFFF; \ (ts).LowPart = 0xFFFFFFFF;
void AddSecondsToTimeStamp(PLARGE_INTEGER, ULONG);
#ifdef __cplusplus
} #endif
#endif // __SECMISC_H__
|