windows-nt/Source/XPSP1/NT/inetsrv/iis/inc/timer.h

65 lines
804 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
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_