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.
 
 
 
 
 
 

64 lines
868 B

/*++
Copyright (c) 1995 Microsoft Corporation
Module Name:
timer.h
Abstract:
Domain Name System (DNS) Server
Wrap-proof timer routines.
The purpose of this module is to create a timer function which
returns a time in seconds and eliminates all timer wrapping issues.
These routines are non-DNS specific and may be picked up
cleanly by any module.
Author:
Jim Gilroy (jamesg) 9-Sep-1995
Revision History:
--*/
#ifndef _TIMER_INCLUDED_
#define _TIMER_INCLUDED_
#ifdef __cplusplus
extern "C" {
#endif
VOID
InitializeSecondsTimer(
VOID
);
VOID
TerminateSecondsTimer(
VOID
);
DWORD
GetCurrentTimeInSeconds(
VOID
);
__int64
GetCurrentTimeInMilliseconds(
VOID
);
#ifdef __cplusplus
}
#endif
#endif // _TIMER_INCLUDED_