mirror of https://github.com/tongzx/nt5src
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.
53 lines
639 B
53 lines
639 B
/*
|
|
|
|
Copyright (c) 1992 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
time.h
|
|
|
|
Abstract:
|
|
|
|
This file defines macros and prototypes for time related operations.
|
|
header files.
|
|
|
|
Author:
|
|
|
|
Jameel Hyder (microsoft!jameelh)
|
|
|
|
|
|
Revision History:
|
|
25 Apr 1992 Initial Version
|
|
|
|
Notes: Tab stop: 4
|
|
--*/
|
|
|
|
|
|
#ifndef _TIME_
|
|
#define _TIME_
|
|
|
|
#define AfpGetPerfCounter(pTime) *(pTime) = KeQueryPerformanceCounter(NULL)
|
|
|
|
extern
|
|
VOID
|
|
AfpGetCurrentTimeInMacFormat(
|
|
OUT PAFPTIME MacTime
|
|
);
|
|
|
|
|
|
extern
|
|
AFPTIME
|
|
AfpConvertTimeToMacFormat(
|
|
IN PTIME pSomeTime
|
|
);
|
|
|
|
extern
|
|
VOID
|
|
AfpConvertTimeFromMacFormat(
|
|
IN AFPTIME MacTime,
|
|
OUT PTIME pNtTime
|
|
);
|
|
|
|
#endif // _TIME_
|
|
|
|
|