VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: BroadcastSystemMessage(WindowsÏûÏ¢)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:35:12 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ catchy Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Fri Mar 31 01:19:47 2000)
BroadcastSystemMessage
VBÉùÃ÷
Declare Function BroadcastSystemMessage Lib "user32" Alias "BroadcastSystemM
essage" (ByVal dw As Long, pdw As Long, ByVal un As Long, ByVal wParam As Lo
ng, ByVal lParam As Long) As Long
˵Ã÷
½«Ò»ÌõϵͳÏûÏ¢¹ã²¥¸øϵͳÖÐËùÓеĶ¥¼¶´°¿Ú
·µ»ØÖµ
Long£¬´óÓÚÁã±íʾ³É¹¦£»-1±íʾ³ö´í¡£ÈçÉèÖÃÁËBSF_QUERY£¬¶øÇÒÖÁÉÙÓÐÒ»¸öÏûÏ¢½ÓÊÕÕß
·µ»ØÁ㣬ÄÇôÕâ¸öº¯Êý·µ»ØÁã
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
dw Long£¬ÏÂÊö³£ÊýµÄÒ»¸ö»ò¶à¸ö
BSF_FLUSHDISK ÿ´Î´¦ÀíÍêÒ»ÌõÏûÏ¢ºó£¬¶¼¶Ô´ÅÅ̽øÐÐˢУ¨½«Î´´æÅ̵ÄÊý¾Ý´æÏÂÀ´
BSF_FORCEIFHUNG ÈçÄ¿±ê´¦ÓÚ¹ÒÆð״̬£¬ÔòÔÚÉ趨µÄ³¬Ê±ºóµ½ÆÚ·µ»Ø
BSF_IGNORECURRENTTASK ·¢ËÍÈÎÎñ²»½ÓÊÕÏûÏ¢
BSF_LPARAMBUFFER lParamÖ¸ÏòÒ»¸öÄڴ滺³åÇø
BSF_NOHANG Ìø¹ý±»¹ÒÆðµÄËùÓнø³Ì
BSF_POSTMESSAGE ͶµÝÏûÏ¢¡£²»ÓëBSF_LPARAMBUFFERºÍBSF_QUERY¼æÈÝ
BSF_QUERY ½«ÏûϢ˳Ðò·¢¸ø½ø³Ì£¬Ö»ÓÐÇ°Ò»¸ö·µ»ØTRUEʱ£¬²Å½øÈëÏÂÒ»¸ö½ø³Ì
pdw Long£¬ÏÂÊö³£ÊýµÄÒ»¸ö»ò¶à¸ö
BSF_ALLCOMPONENTS ÏûÏ¢½øÈëÄܹ»½ÓÊÕÏûÏ¢µÄÿһ¸öϵͳ×é¼þ
BSF_APPLICATIONS ÏûÏ¢µ½´ïÓ¦ÓóÌÐò
BSF_INSTALLABLEDRIVERS ÏûÏ¢µ½´ï¿É°²×°µÄÇý¶¯³ÌÐò
BSF_NETDRIVERS ÏûÏ¢µ½´ïÍøÂçÇý¶¯³ÌÐò
BSF_VXDS ÏûÏ¢µ½´ïϵͳÉ豸Çý¶¯³ÌÐò
un Long£¬ÏûÏ¢±àºÅ
wParam Long£¬ÓÉÏûÏ¢¾ö¶¨
lParam Long£¬ÓÉÏûÏ¢¾ö¶¨¡£ÈçÖ¸¶¨ÁËBSF_LPARAMBUFFER£¬Õâ¾ÍÊÇλÓÚµ÷Óýø³ÌµØÖ·¿Õ¼ä
µÄÒ»¸öÄڴ滺³åÇøµÄµØÖ·£¬¶øÇÒ»º³åÇøµÄµÚÒ»¸ö16λ×Ö°üº¬ÁË»º³åÇøµÄ³¤¶È
--
²»Ð´ÁË£¬Ã»Ê²Ã´¿É˵µÄÁË.....
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º2.281ºÁÃë