VB °æ (¾«»ªÇø)
·¢ÐÅÈË: bloom (©À©Á©Â©Ã©Ä©Æ©Ç¨), ÐÅÇø: VB
±ê Ìâ: RegSetKeySecurity(Îļþ´¦Àí)(תÔØ)
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2000Äê09ÔÂ07ÈÕ18:40:48 ÐÇÆÚËÄ), תÐÅ
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô cnTemp ÌÖÂÛÇø ¡¿
¡¾ ÔÎÄÓÉ bloom Ëù·¢±í ¡¿
·¢ÐÅÈË: yucheng (ÎÞ»°¿É˵), ÐÅÇø: VisualBasic
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sat Apr 8 02:08:32 2000) WWW-POST
RegSetKeySecurity
VBÉùÃ÷
Declare Function RegSetKeySecurity Lib "advapi32.dll" Alias "RegSetKeySecurity
" (ByVal hKey As Long, ByVal SecurityInformation As Long, pSecurityDescriptor
As SECURITY_DESCRIPTOR) As Long
˵Ã÷
ÉèÖÃÖ¸¶¨ÏîµÄ°²È«ÌØÐÔ
·µ»ØÖµ
Long£¬Á㣨ERROR_SUCCESS£©±íʾ³É¹¦¡£ÆäËûÈκÎÖµ¶¼´ú±íÒ»¸ö´íÎó´úÂë
²ÎÊý±í
²ÎÊý ÀàÐͼ°ËµÃ÷
hKey Long£¬Ö¸¶¨Ò»¸öÏîµÄ¾ä±ú£¬»òÖ¸¶¨Ò»¸ö±ê×¼ÏîÃû
SecurityInformation Long£¬¶ÔÒª±£´æµÄÐÅÏ¢½øÐÐÃèÊöµÄ±êÖ¾
pSecurityDescriptor SECURITY_DESCRIPTOR£¬Õâ¸ö½á¹¹°üº¬ÁË×¢²á±íÏîÐµİ²È«ÌØÐÔÉè
ÖÃ
ÊÊÓÃƽ̨
Windows NT
--
--
¡î À´Ô´:£®¹þ¹¤´ó×϶¡Ïã 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º7.286ºÁÃë