请输入您要查询的百科知识:

 

词条 SystemTimeToFileTime
释义

SystemTimeToFileTimeThe SystemTimeToFileTime function converts a system time to a file time.

BOOL SystemTimeToFileTime( const SYSTEMTIME* lpSystemTime, LPFILETIME lpFileTime);

ParameterslpSystemTime [in] Pointer to a SYSTEMTIME structure that contains the time to be converted. The wDayOfWeek member of the SYSTEMTIME structure is ignored.

lpFileTime [out] Pointer to a FILETIME structure to receive the converted system time. Return ValuesIf the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Example Code For an example, see Changing a File Time to the Current Time.

Requirements

Client Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.

Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server.

Header Declared in Winbase.h; include Windows.h.

Library Link to Kernel32.lib.

DLL Requires Kernel32.dll.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2024/11/15 10:06:36