网站首页  计算机词典

请输入您要查询的字词:

 

字词 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
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/24 0:35:29