public interface HostnameFetchingWin32Library
extends com.sun.jna.win32.StdCallLibrary
Modifier and Type | Field and Description |
---|---|
static int |
COMPUTER_NAME_FORMAT__ComputerNameDnsDomain |
static int |
COMPUTER_NAME_FORMAT__ComputerNameDnsFullyQualified |
static int |
COMPUTER_NAME_FORMAT__ComputerNameDnsHostname |
static int |
COMPUTER_NAME_FORMAT__ComputerNameNetBIOS |
static int |
COMPUTER_NAME_FORMAT__ComputerNamePhysicalDnsDomain |
static int |
COMPUTER_NAME_FORMAT__ComputerNamePhysicalDnsFullyQualified |
static int |
COMPUTER_NAME_FORMAT__ComputerNamePhysicalDnsHostname |
static int |
COMPUTER_NAME_FORMAT__ComputerNamePhysicalNetBIOS |
static HostnameFetchingWin32Library |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
GetComputerNameEx(int nameType,
char[] buffer,
com.sun.jna.ptr.IntByReference bufferSize) |
static final HostnameFetchingWin32Library INSTANCE
static final int COMPUTER_NAME_FORMAT__ComputerNameNetBIOS
static final int COMPUTER_NAME_FORMAT__ComputerNameDnsHostname
static final int COMPUTER_NAME_FORMAT__ComputerNameDnsDomain
static final int COMPUTER_NAME_FORMAT__ComputerNameDnsFullyQualified
static final int COMPUTER_NAME_FORMAT__ComputerNamePhysicalNetBIOS
static final int COMPUTER_NAME_FORMAT__ComputerNamePhysicalDnsHostname
static final int COMPUTER_NAME_FORMAT__ComputerNamePhysicalDnsDomain
static final int COMPUTER_NAME_FORMAT__ComputerNamePhysicalDnsFullyQualified