举报
#include <lsasecur.au3> Local $sRegKey, $aSecur, $pDacl, $aPermission $sRegKey = "Machine\Software" $aSecur = _SeGetNamedSecurityInfo($sRegKey, $SE_REGISTRY_KEY, $SE_INFO_DACL) If @error Then MsgBox(48, "Error", _SeFormatMsg($sRegKey)) Exit EndIf $pDacl = $aSecur[6] If Not _SeIsValidAcl($pDacl) Then MsgBox(48, "Error", _SeFormatMsg($sRegKey)) Exit EndIf $aPermission = _SeEnumEntriesFromAcl($pDacl) __SeArrayDisplay($aPermission, _SeFormatMsg($sRegKey))
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-7-28 18:45 , Processed in 0.133717 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.