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 "dlls/advapi32/advapi.c". source.winehq.org/source/dlls/advapi32/advapi.c

Debug channel "advapi".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.