VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: SystemTimeToFileTime(Îļþ´¦Àí)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:42:12 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sat Apr 8 02:11:00 2000) WWW-POST
SystemTimeToFileTime
VBÉùÃ÷
Declare Function SystemTimeToFileTime Lib "kernel32" Alias "SystemTimeToFileTi
me" (lpSystemTime As SYSTEMTIME, lpFileTime As FILETIME) As Long
˵Ã÷
¸ù¾ÝÒ»¸öFILETIME½á¹¹µÄÄÚÈÝ£¬ÔØÈëÒ»¸öSYSTEMTIME½á¹¹
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
lpSystemTime SYSTEMTIME£¬°üº¬ÁËϵͳʱ¼äÐÅÏ¢µÄÒ»¸ö½á¹¹
lpFileTime FILETIME£¬ÓÃÓÚ×°ÔØÎļþʱ¼äµÄÒ»¸ö½á¹¹
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: blo0m.bbs@smth.org]
--
¡ù תÔØ:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: 202.118.247.254]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.528ºÁÃë