最新下载
热门教程
- 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
相关文章
- 火炬之光无限ss9赛季职业推荐 2025火炬之光无限ss9赛季最强职业(技能伤害最高)推荐攻略大全 11-19
- 我的世界移动版铁胸甲怎么合成 材料获取与制作教程 11-19
- 阴阳师SP梦引蝴蝶精技能详解 11-19
- 我的世界移动版execute有什么用 草方块触发飞天效果 11-19
- 坠落守望者兑换码大全 坠落守望者最新兑换码汇总 11-19
- 境界刀鸣官网网址是什么 境界刀鸣官网入口 11-19