Windows2003-3790/inetsrv/iis/inc/timer.h
2020-09-30 16:53:55 +02:00

65 lines
868 B
C

/*++
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_