VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: WNetConnectionDialog£¨ÍøÂ磩(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:42:33 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Fri Mar 31 01:29:40 2000)
WNetConnectionDialog
VBÉùÃ÷
Declare Function WNetConnectionDialog Lib "mpr.dll" Alias "WNetConnectionDia
log" (ByVal hwnd As Long, ByVal dwType As Long) As Long
˵Ã÷
Æô¶¯Ò»¸ö±ê×¼¶Ô»°¿ò£¬ÒԱ㽨Á¢Í¬ÍøÂç×ÊÔ´µÄÁ¬½Ó
·µ»ØÖµ
Long£¬Áã±íʾ³É¹¦¡£ÈçÓû§È¡ÏûÁ˲Ù×÷£¬Ôò·µ»Ø-1¡£»áÉèÖÃGetLastError¡£ÈçGetLastE
rrorÊÇERROR_EXTENDED_ERROR£¬Ôò¿ÉÓÃWNetGetLastErrorÈ¡µÃ¶îÍâµÄ´íÎóÐÅÏ¢
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hwnd Long£¬Ö¸¶¨Òª³ÉΪ¶Ô»°¿ò¸¸´°¿ÚµÄÒ»¸ö´°¿ÚµÄ¾ä±ú
dwType Long£¬Éè³ÉRESOURCETYPE_DISK£¬ä¯ÀÀ´ÅÅÌ×ÊÔ´
--
²»Ð´ÁË£¬Ã»Ê²Ã´¿É˵µÄÁË.....
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.511ºÁÃë