EngQueryFileTimeStamp function (winddi.h)

The EngQueryFileTimeStamp function returns the time stamp of a file.

Syntax

ENGAPI LARGE_INTEGER EngQueryFileTimeStamp(
  [in] LPWSTR pwsz
);

Parameters

[in] pwsz

Pointer to a null-terminated string containing the name of the file to be queried.

Return value

EngQueryFileTimeStamp returns the last time the file was written to upon success. It returns NULL if it fails.

Remarks

The time returned is local system time for the current time zone, specified in system-time format. Absolute system time is the number of 100-nanosecond intervals since the start of 1601.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Desktop
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys