网站首页  词典首页

请输入您要查询的函数:

 

术语 systemtimetofiletime
释义 SystemTimeToFileTime
语法:
C++
BOOL WINAPI SystemTimeToFileTime(
__in const SYSTEMTIME *lpSystemTime,
__out LPFILETIME lpFileTime
);
SystemTimeToFileTime函数
一个系统的时间转换到一个文件的时间。
参数
lpSystemTime [in]
一个SYSTEMTIME结构,它包含要转换的时间指针。
该SYSTEMTIME结构wDayOfWeek成员被忽略。
lpFileTime [out]
一个FILETIME结构的指针接收转换系统时间。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
实例
有关示例,请参阅更改一个文件时间为当前时间。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
DosDateTimeToFileTime
FILETIME
FileTimeToDosDateTime
FileTimeToSystemTime
系统时间
系统时间
时间函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==SystemTimeToFileTime Function
Converts a system time to a file time.
Syntax
C++
BOOL WINAPI SystemTimeToFileTime(
__in const SYSTEMTIME *lpSystemTime,
__out LPFILETIME lpFileTime
);
Parameters
lpSystemTime [in]
A pointer to a SYSTEMTIME structure that contains the time to be converted.
The wDayOfWeek member of the SYSTEMTIME structure is ignored.
lpFileTime [out]
A pointer to a FILETIME structure to receive the converted system 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 Changing a File Time to the Current Time .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
DosDateTimeToFileTime
FILETIME
FileTimeToDosDateTime
FileTimeToSystemTime
System Time
SYSTEMTIME
Time Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms724948(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 13:23:47