Source code of Windows XP (NT5)
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.
|
|
//+-----------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (c) Microsoft Corporation 1991 - 1992
//
// File: gettime.c
//
// Contents: Getting time
//
//
// History: Created
//
//------------------------------------------------------------------------
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
#ifndef SECURITY_WIN32
#define SECURITY_WIN32
#endif // SECURITY_WIN32
#include <security.h>
#include <secmisc.h>
//+-------------------------------------------------------------------------
//
// Function: GetCurrentTimeStamp
//
// Synopsis: Gets current time, UTC format.
//
// Effects:
//
// Arguments:
//
// Requires:
//
// Returns:
//
// Notes:
//
//--------------------------------------------------------------------------
void GetCurrentTimeStamp( PLARGE_INTEGER ptsCurrentTime) { (void) NtQuerySystemTime(ptsCurrentTime); }
|