PB:取得NT用户名 FUNCTION ulong WNetGetUser(ref string lpName,ref string lpUserName,ref ulong lpnLength) LIBRARY "mpr.dll" ALIAS FOR "WNetGetUserA" string ls_name, ls_username ulong ll_len ll_len = 256 ls_username = space(ll_len) setnull(ls_name) WNetGetUser(ls_Name,ls_UserName,ll_Len) messagebox("用户名",ls_username) |
PB:取得NT用户名
最新推荐文章于 2024-10-27 19:55:47 发布