Changeset 17070
- Timestamp:
- Aug 10, 2001, 9:31:19 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/advapi32/ADVAPI32.CPP ¶
r16155 r17070 1 /* $Id: ADVAPI32.CPP,v 1.1 8 2001-04-26 17:00:33sandervl Exp $ */1 /* $Id: ADVAPI32.CPP,v 1.19 2001-08-10 19:31:19 sandervl Exp $ */ 2 2 3 3 /* … … 76 76 77 77 //****************************************************************************** 78 /* The GetUserName function retrieves the user name of the current 79 * thread. This is the name of the user currently logged onto the 80 * system. 81 */ 78 82 //****************************************************************************** 79 83 BOOL WIN32API GetUserNameA( /*PLF Wed 98-02-11 13:33:39*/ 80 84 LPTSTR lpBuffer, /* address of name buffer */ 81 85 LPDWORD lpcchBuffer) /* address of size of name buffer */ 82 83 84 /* The GetUserName function retrieves the user name of the current 85 * thread. This is the name of the user currently logged onto the 86 * system. 87 */ 88 89 { 86 { 87 dprintf(("GetUserNameA %x %x %x", lpBuffer, lpcchBuffer, *lpcchBuffer)); 90 88 #define USERNAME "USER" 91 89 if(*lpcchBuffer < sizeof(USERNAME))
Note:
See TracChangeset
for help on using the changeset viewer.