public static class NativeAPIEmulation.windows.advapi32
extends java.lang.Object
| Constructor and Description |
|---|
advapi32() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getUserNameA(character lpBuffer,
integer pcbBuffer)
Retrieves the name of the user associated with the current thread.
|
public static int getUserNameA(character lpBuffer, integer pcbBuffer)
lpBuffer - A pointer to the buffer to receive the user's logon name.pcbBuffer - On input, this variable specifies the size of the lpBuffer buffer, in TCHARs. On
output, the variable receives the number of TCHARs copied to the buffer, including
the terminating null character.