windows-nt/Source/XPSP1/NT/net/sfm/afp/server/time.h
2020-09-26 16:20:57 +08:00

53 lines
639 B
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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