网站首页  词典首页

请输入您要查询的函数:

 

术语 dosdatetimetofiletime
释义 DosDateTimeToFileTime
语法:
C++
BOOL WINAPI DosDateTimeToFileTime(
__in WORD wFatDate,
__in WORD wFatTime,
__out LPFILETIME lpFileTime
);
DosDateTimeToFileTime功能
转换的MS - DOS日期和时间值到一个文件的时间。
参数
wFatDate [in]
在MS - DOS的日期。该日期与以下格式包装的价值。
BitsDescription
0 -每月(1-31 4Day)
5 8Month(1 =月1日,2 = 2,依此类推)
9从1980年偏移15Year(1980年加入获得实际年)
wFatTime [in]
在MS - DOS的时间。时间是与以下格式包装的价值。
BitsDescription
0 -除以2 4Second
5 - 10分钟(0-59)
11 15Hour 24小时制(0-23)
lpFileTime [out]
一个FILETIME结构,转换后的文件接收时间的指针。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
FILETIME
FileTimeToDosDateTime
FileTimeToSystemTime
SystemTimeToFileTime
时间函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==DosDateTimeToFileTime Function
Converts MS-DOS date and time values to a file time.
Syntax
C++
BOOL WINAPI DosDateTimeToFileTime(
__in WORD wFatDate,
__in WORD wFatTime,
__out LPFILETIME lpFileTime
);
Parameters
wFatDate [in]
The MS-DOS date. The date is a packed value with the following format.
BitsDescription
0-4Day of the month (1–31)
5-8Month (1 = January, 2 = February, and so on)
9-15Year offset from 1980 (add 1980 to get actual year)

wFatTime [in]
The MS-DOS time. The time is a packed value with the following format.
BitsDescription
0-4Second divided by 2
5-10Minute (0–59)
11-15Hour (0–23 on a 24-hour clock)

lpFileTime [out]
A pointer to a FILETIME structure that receives 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 .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
FILETIME
FileTimeToDosDateTime
FileTimeToSystemTime
SystemTimeToFileTime
Time Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms724247(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:24:14