CurUserName
Get the current username from Windows
AI
สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
ซอร์สโค้ด
' Get the current username from Windows ' Coded By MAGiC MANiAC^mTo ' More Examples At: http://home.kabelfoon.nl/~mto/ ' Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" _ (ByVal lpBuffer As String, nSize As Long) As Long Function CurUserName$() Dim sTmp1$ sTmp1 = Space$(512) GetUserName sTmp1, Len(sTmp1) CurUserName = Trim$(sTmp1) End Function
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine