GetUserNameA3w
Usage
BOOL GetUserNameA
(
LPSTR lpszName,
LPDWORD lpSize
)
Overview
Get the current user name.
Params
lpszName [Out] Destination for the user name.
lpSize [In/Out] Size of lpszName.
Returns
Success: The length of the user name, including terminating NUL.
Failure: ERROR_MORE_DATA if *lpSize is too small.
Implementation
Declared in "winbase.h".
Implemented in "dlls/advapi32/advapi.c".
Debug channel "advapi".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.