|
-
July 3rd, 2001, 07:31 AM
#1
NetUserAdd
Anyone knows how will I correct this
I add this to my code
Private Declare Function NetUserAdd Lib "NetApi32" (servername AS Byte,_
ByVal level As Long,
buff As Long,
parm_err As Long) As Long
Private Type USER_INFO_4
usr1_name As Long
usr1_password As Long
usr1_password_age As Long
usr1_priv As Long
usr1_home_dir As Long
usr1_comment As Long
usr1_flags As Long
usr1_script_path As Long
End Type
But I dont know how to pass this structure to the api function since it only accepts "Long":
NetUserAdd(ServerName(0),1,?,parm_err)
Somebody knows about this api? Please help me
by having sample code or use.
cecile
The more u read, the more u do not know
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|