Public Declare Function GetUserName Lib "advapi32.dll" (ByVal lpBuffer As String, ByVal nSize As Long) As Long