VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: RegEnumValue(Îļþ´¦Àí)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:38 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sat Apr 8 02:05:54 2000) WWW-POST
RegEnumValue
VBÉùÃ÷
Declare Function RegEnumValue Lib "advapi32.dll" Alias "RegEnumValueA" (ByVal
hKey As Long, ByVal dwIndex As Long, ByVal lpValueName As String,
lpcbValueName As Long, lpReserved As Long, lpType As Long, lpData As Byte,
lpcbData As Long) As Long
˵Ã÷
ö¾ÙÖ¸¶¨ÏîµÄÖµ
·µ»ØÖµ
Long£¬Á㣨ERROR_SUCCESS£©±íʾ³É¹¦¡£ÆäËûÈκÎÖµ¶¼´ú±íÒ»¸ö´íÎó´úÂë
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hKey Long£¬Ò»¸öÒÑ´ò¿ªÏîµÄ¾ä±ú£¬»òÕßÖ¸¶¨Ò»¸ö±ê×¼ÏîÃû
dwIndex Long£¬Óû»ñÈ¡ÖµµÄË÷Òý¡£×¢ÒâµÚÒ»¸öÖµµÄË÷Òý±àºÅΪÁã
lpValueName String£¬ÓÃÓÚ×°ÔØλÓÚÖ¸¶¨Ë÷Òý´¦ÖµÃûµÄÒ»¸ö»º³åÇø
lpcbValueName Long£¬ÓÃÓÚ×°ÔØlpValueName»º³åÇø³¤¶ÈµÄÒ»¸ö±äÁ¿¡£Ò»µ©·µ»Ø£¬Ëü»áÉè
Ϊʵ¼ÊÔØÈ뻺³åÇøµÄ×Ö·ûÊýÁ¿
lpReserved Long£¬Î´Óã»ÉèΪÁã
lpType Long£¬ÓÃÓÚ×°ÔØÖµµÄÀàÐÍ´úÂëµÄ±äÁ¿
lpData Byte£¬ÓÃÓÚ×°ÔØÖµÊý¾ÝµÄÒ»¸ö»º³åÇø
lpcbData Long£¬ÓÃÓÚ×°ÔØlpData»º³åÇø³¤¶ÈµÄÒ»¸ö±äÁ¿¡£Ò»µ©·µ»Ø£¬Ëü»áÉèΪʵ¼ÊÔØÈë
»º³åÇøµÄ×Ö·ûÊýÁ¿
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.831ºÁÃë