Thank you very much!
CodePudding user response:
http://download.csdn.net/source/141867CodePudding user response:
A, retrieve the user list with NetUserEnumSecond, using NetUserGetInfo get user information
CodePudding user response:
Have the original code?CodePudding user response:
jfCodePudding user response:
Pick up pointsCodePudding user response:
jfCodePudding user response:
For the topCodePudding user response:
The Function ULong GetComputerName (Ref String lpBuffer, Ref ULong nSize) Library "kernel32. DLL" Alias for "GetComputerNameA"
String ls_buffer
ULong lul_size
The Integer li_rtn
Ls_buffer=space (255)
Lul_size=255
Li_rtn=GetComputerName (ls_buffer lul_size)
If li_rtn & lt;> 0 then
Gs_hostname=ls_buffer
End the if