网站首页  词典首页

请输入您要查询的函数:

 

术语 filetimetosystemtime
释义 FileTimeToSystemTime
语法:
C++
BOOL WINAPI FileTimeToSystemTime(
__in const FILETIME *lpFileTime,
__out LPSYSTEMTIME lpSystemTime
);
FileTimeToSystemTime函数
文件时间转换为系统时间格式。
参数
lpFileTime [in]
一个FILETIME结构,包含该文件的时间转换为系统日期和时间格式的指针。
此值必须小于0x8000000000000000。否则,函数失败。
lpSystemTime [out]
一个SYSTEMTIME结构的指针接收转换后的文件的时间。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
实例
有关示例,请参见检索最后的读写时间。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
DosDateTimeToFileTime
文件时报
FILETIME
FileTimeToDosDateTime
系统时间
SystemTimeToFileTime
时间函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==FileTimeToSystemTime Function
Converts a file time to system time format.
Syntax
C++
BOOL WINAPI FileTimeToSystemTime(
__in const FILETIME *lpFileTime,
__out LPSYSTEMTIME lpSystemTime
);
Parameters
lpFileTime [in]
A pointer to a FILETIME structure containing the file time to convert to system date and time format.
This value must be less than 0x8000000000000000. Otherwise, the function fails.
lpSystemTime [out]
A pointer to a SYSTEMTIME structure to receive the converted file time.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Examples
For an example, see Retrieving the Last-Write Time .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
DosDateTimeToFileTime
File Times
FILETIME
FileTimeToDosDateTime
SYSTEMTIME
SystemTimeToFileTime
Time Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms724280(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:27:27