GetUserNameA(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.