VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: RegOpenKey(Îļþ´¦Àí)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:43 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sat Apr 8 02:07:15 2000) WWW-POST
RegOpenKey
VBÉùÃ÷
Declare Function RegOpenKey Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal
hKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long
˵Ã÷
´ò¿ªÒ»¸öÏÖÓеÄ×¢²á±íÏî
·µ»ØÖµ
Long£¬Á㣨ERROR_SUCCESS£©±íʾ³É¹¦¡£ÆäËûÈκÎÖµ¶¼´ú±íÒ»¸ö´íÎó´úÂë
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hKey Long£¬Ò»¸öÒÑ´ò¿ªÏîµÄ¾ä±ú£¬»òÖ¸¶¨Ò»¸ö±ê×¼ÏîÃû
lpSubKey String£¬Òª´ò¿ªµÄÏîÃû
phkResult Long£¬Ö¸¶¨Ò»¸ö±äÁ¿£¬ÓÃÓÚ×°ÔØ£¨±£´æ£©´ò¿ª×¢²á±íÏîµÄÒ»¸ö¾ä±ú
×¢½â
ÔÚNT»·¾³Ï£¬Õâ¸öº¯Êý»áʹÓÃĬÈϵݲȫ²ÎÊý
Àý×Ó£º
1-39£¬1-45,
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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.396ºÁÃë