Hopefully I'm not embarrasing myself again like the last of my posts about missing time API's but here goes.
Are the two netapi32 functions
NetUserAdd
NetUserDel
missing for any particular reason?
In VB they look like this... (probably need to be asciiz rather than strings though)
(and they have to be pointers to Unicode strings or you'll screw your NT PDC.
------------------
Paul Dwyer
Network Engineer
Aussie in Tokyo
(Paul282 at VB-World)
Are the two netapi32 functions
NetUserAdd
NetUserDel
missing for any particular reason?
In VB they look like this... (probably need to be asciiz rather than strings though)
(and they have to be pointers to Unicode strings or you'll screw your NT PDC.
Code:
Declare Function NetUserAdd Lib "netapi32" (ByVal lpServer As String, ByVal Level As Long, lpUser As USER_INFO_3, lpError As Long) As Long Declare Function NetUserDel Lib "netapi32" (ByVal lpServer As String, ByVal Username As Long) As Long
Paul Dwyer
Network Engineer
Aussie in Tokyo
(Paul282 at VB-World)
Comment