最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
用VB写的一个组件,实现添加系统用户,并添加到指定组
时间:2022-07-02 11:18:38 编辑:袖梨 来源:一聚教程网
声明部分
Option Explicit
Const NERR_Success = 0
Const ERROR_MORE_DATA = 234&
Const MAX_PREFERRED_LENGTH = -1&
Const LG_INCLUDE_INDIRECT = &H1
Const User_Priv_User = &H1
Const FORMAT_MESSAGE_FROM_SYSTEM = &H1000
Const NERR_BASE = 2100
Const MAX_NERR = NERR_BASE + 899
Const LOAD_LIBRARY_AS_DATAFILE = &H2
Const FORMAT_MESSAGE_FROM_HMODULE = &H800
Type TUser1 ’ Level 1
ptrName As Long
ptrPassword As Long
dwPasswordAge As Long
dwPriv As Long
ptrHomeDir As Long
ptrComment As Long
dwFlags As Long
ptrScriptPath As Long
End Type
Type USER_INFO_0
usri0_name As Long
End Type
Type LOCALGROUP_INFO_0
lgrpi0_name As Long
End Type
Type LOCALGROUP_USER_INFO_0
lgrui0_name As Long
End Type
Type UserInfo_1
Username As String
相关文章
- 夸克AI搜索网页版官方登录入口-夸克AI搜索网页登录直接进入官网 07-21
- 悠星大陆阵营试炼怎么玩 阵营试炼玩法详细介绍 07-21
- 逆战未来陷阱怎么解锁 逆战未来陷阱详细解锁步骤与条件说明 07-21
- 百度网盘网页版入口-百度网盘网页版登录平台 07-21
- Ozon中国卖家入驻-2026年Ozon卖家最新入驻网站地址一览 07-21
- 执业助理医师技能备考攻略(如何有效备考执业助理医师考试) 07-21