VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: GetTheardTimes(½ø³ÌÓëÏß³Ì)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:39:00 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sat Apr 8 00:51:22 2000) WWW-POST
GetTheardTimes
VBÉùÃ÷
Declare Function GetThreadTimes Lib "kernel32" Alias "GetThreadTimes" (ByVal
hThread As Long, lpCreationTime As FILETIME, lpExitTime As FILETIME,
lpKernelTime As FILETIME, lpUserTime As FILETIME) As Long
˵Ã÷
»ñÈ¡ÓëÒ»¸öÏ̵߳ľ¹ýʱ¼äÓйصÄÐÅÏ¢
·µ»ØÖµ
Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü¡£»áÉèÖÃGetLastError
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hThread Long£¬Ò»¸öÏ߳̾ä±ú
lpCreationTime FILETIME£¬Ö¸¶¨Ò»¸öFILETIME½á¹¹£¬ÔÚÆäÖÐ×°ÔØÏ̵߳Ĵ´½¨Ê±¼ä
lpExitTime FILETIME£¬Ö¸¶¨Ò»¸öFILETIME½á¹¹£¬ÔÚÆäÖÐ×°ÔØÏ̵߳ÄÖÐֹʱ¼ä
lpKernelTime FILETIME£¬Ö¸¶¨Ò»¸öFILETIME½á¹¹£¬ÔÚÆäÖÐ×°ÔØÏ̻߳¨ÔÚÄÚºËģʽÉϵÄ×Ü
ʱ¼ä
lpUserTime FILETIME£¬Ö¸¶¨Ò»¸öFILETIME½á¹¹£¬ÔÚÆäÖÐ×°ÔØÏ̻߳¨ÔÚÓû§Ä£Ê½ÉϵÄ×Üʱ
¼ä
ÊÊÓÃƽ̨
Windows NT
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: casi.bbs@smth.org]
--
¡ù תÔØ:£®¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn£®[FROM: 202.118.247.254]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.398ºÁÃë