GetUserNameA(3w)

NAME

GetUserNameA (ADVAPI32.@)

SYNOPSIS

BOOL GetUserNameA
 (
  LPSTR   lpszName,
  LPDWORD lpSize
 )

DESCRIPTION

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

Defined in "winbase.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/advapi32/advapi.c".

Debug channel "advapi".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout