Top Description Inners Fields
com.sun.jna.platform.win32

public Interface WinBase

extends WinDef, BaseTSD
Known Direct Subinterfaces
com.sun.jna.platform.win32.WinNT
Imports
java.text.DateFormat, java.util.Calendar, .Date, com.sun.jna.Callback, .Native, .Platform, .Pointer, .Structure, .Structure.FieldOrder, .Union, com.sun.jna.platform.win32.WinNT.HANDLE, .WinNT.LARGE_INTEGER, com.sun.jna.ptr.ByteByReference, com.sun.jna.win32.StdCallLibrary.StdCallCallback, .W32APITypeMapper

Ported from Winbase.h (kernel32.dll/kernel services). Microsoft Windows SDK 6.0A.
Author
dblock[at]dblock.org

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
WinBase.COMMTIMEOUTS

Contains the time-out parameters for a communications device.

public static interface
WinBase.COMPUTER_NAME_FORMAT

Specifies a type of computer name to be retrieved by the GetComputerNameEx function

public static class
WinBase.DCB

Defines the control setting for a serial communications device.

public static interface
WinBase.EnumResNameProc

An application-defined callback function used with the EnumResourceNames and EnumResourceNamesEx functions.

public static interface
WinBase.EnumResTypeProc

An application-defined callback function used with the EnumResourceTypes and EnumResourceTypesEx functions.

public static interface
WinBase.FE_EXPORT_FUNC

An application-defined callback function used with ReadEncryptedFileRaw.

public static interface
WinBase.FE_IMPORT_FUNC

An application-defined callback function used with WriteEncryptedFileRaw.

public static class
WinBase.FILE_ATTRIBUTE_TAG_INFO

Receives the requested file attribute information.

public static class
WinBase.FILE_BASIC_INFO

Contains the basic information for a file.

public static class
WinBase.FILE_COMPRESSION_INFO

Receives extended information for the file.

public static class
WinBase.FILE_DISPOSITION_INFO

Indicates whether a file should be deleted.

public static class
WinBase.FILE_ID_INFO

Contains identification information for a file.

public static class
WinBase.FILE_STANDARD_INFO

Receives extended information for the file.

public static class
WinBase.FILETIME

The FILETIME structure is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).

public static class
WinBase.FOREIGN_THREAD_START_ROUTINE

Represents a thread entry point in another process.

public static class
WinBase.MEMORYSTATUSEX

Contains information about the current state of both physical and virtual memory, including extended memory.

public static class
WinBase.OVERLAPPED

The OVERLAPPED structure contains information used in asynchronous (or overlapped) input and output (I/O).

public static class
WinBase.PROCESS_INFORMATION

Contains information about a newly created process and its primary thread.

public static class
WinBase.SECURITY_ATTRIBUTES

The SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.

public static class
WinBase.STARTUPINFO

Specifies the window station, desktop, standard handles, and appearance of the main window for a process at creation time.

public static class
WinBase.SYSTEM_INFO

Contains information about the current computer system.

public static class
WinBase.SYSTEMTIME

Specifies a date and time, using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.

public static interface
WinBase.THREAD_START_ROUTINE

Represents a thread entry point local to this process, as a Callback.

public static class
WinBase.TIME_ZONE_INFORMATION

Specifies settings for a time zone.

public static class
WinBase.WIN32_FIND_DATA

Contains information about the file that is found by the FindFirstFile, FindFirstFileEx, or FindNextFile function.

Field Summary

Modifier and TypeField and Description
public static final int
CBR_110

110 bps.

public static final int
CBR_1200

1200 bps.

public static final int
CBR_128000

128000 bps.

public static final int
CBR_14400

14400 bps.

public static final int
CBR_19200

19200 bps.

public static final int
CBR_2400

2400 bps.

public static final int
CBR_256000

256000 bps.

public static final int
CBR_300

300 bps.

public static final int
CBR_38400

38400 bps.

public static final int
CBR_4800

4800 bps.

public static final int
CBR_56000

56000 bps.

public static final int
CBR_600

600 bps.

public static final int
CBR_9600

9600 bps.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
DRIVE_CDROM

The drive is a CD-ROM drive.

public static final int
DRIVE_FIXED

The drive is a type that cannot be removed, for example, a fixed hard drive.

public static final int
DRIVE_NO_ROOT_DIR

The root path is invalid, for example, no volume is mounted at the path.

public static final int
DRIVE_RAMDISK

The drive is a RAM disk.

public static final int
DRIVE_REMOTE

The drive is a remote (network) drive.

public static final int
DRIVE_REMOVABLE

The drive is a type that has removable media, for example, a floppy drive or removable hard disk.

public static final int
DRIVE_UNKNOWN

The drive type cannot be determined.

public static final int
DTR_CONTROL_DISABLE

Disables the DTR line when the device is opened and leaves it disabled.

public static final int
DTR_CONTROL_ENABLE

Enables the DTR line when the device is opened and leaves it on.

public static final int
DTR_CONTROL_HANDSHAKE

Enables DTR handshaking.

public static final int
ES_AWAYMODE_REQUIRED

Enables away mode.

public static final int
ES_CONTINUOUS

Informs the system that the state being set should remain in effect until the next call that uses ES_CONTINUOUS and one of the other state flags is cleared.

public static final int
ES_DISPLAY_REQUIRED

Forces the display to be on by resetting the display idle timer.

public static final int
ES_SYSTEM_REQUIRED

Forces the system to be in the working state by resetting the system idle timer.

public static final int
ES_USER_PRESENT

This value is not supported.

public static final int
EVENPARITY

Even parity.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
FindExInfoBasic

The FindFirstFileEx function does not query the short file name, improving overall enumeration speed.

public static final int
FindExInfoMaxInfoLevel

This value is used for validation.

public static final int
FindExInfoStandard

The FindFirstFileEx function retrieves a standard set of attribute information.

public static final int
FindExSearchLimitToDevices

This filtering type is not available.

public static final int
FindExSearchLimitToDirectories

This is an advisory flag.

public static final int
FindExSearchNameMatch

The search for a file that matches a specified file name.

public static final int
FORMAT_MESSAGE_ALLOCATE_BUFFER

The lpBuffer parameter is a pointer to a PVOID pointer, and that the nSize parameter specifies the minimum number of TCHARs to allocate for an output message buffer.

public static final int
FORMAT_MESSAGE_ARGUMENT_ARRAY

The Arguments parameter is not a va_list structure, but is a pointer to an array of values that represent the arguments.

public static final int
FORMAT_MESSAGE_FROM_HMODULE

The lpSource parameter is a module handle containing the message-table resource(s) to search.

public static final int
FORMAT_MESSAGE_FROM_STRING

The lpSource parameter is a pointer to a null-terminated message definition.

public static final int
FORMAT_MESSAGE_FROM_SYSTEM

The function should search the system message-table resource(s) for the requested message.

public static final int
FORMAT_MESSAGE_IGNORE_INSERTS

Insert sequences in the message definition are to be ignored and passed through to the output buffer unchanged.

public static final int
HANDLE_FLAG_INHERIT

If this flag is set, a child process created with the bInheritHandles parameter of CreateProcess set to TRUE will inherit the object handle.

public static final int
HANDLE_FLAG_PROTECT_FROM_CLOSE

If this flag is set, calling the Kernel32#CloseHandle function will not close the object handle.

public static final int
public static final int
public static final int
public static final int
public static final WinNT.HANDLE
INVALID_HANDLE_VALUE

Constant value representing an invalid HANDLE.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
LOGON32_LOGON_BATCH

This logon type is intended for batch servers, where processes may be executing on behalf of a user without their direct intervention.

public static final int
LOGON32_LOGON_INTERACTIVE

This logon type is intended for users who will be interactively using the computer, such as a user being logged on by a terminal server, remote shell, or similar process.

public static final int
LOGON32_LOGON_NETWORK

This logon type is intended for high performance servers to authenticate plaintext passwords.

public static final int
LOGON32_LOGON_NETWORK_CLEARTEXT

This logon type preserves the name and password in the authentication package, which allows the server to make connections to other network servers while impersonating the client.

public static final int
LOGON32_LOGON_NEW_CREDENTIALS

This logon type allows the caller to clone its current token and specify new credentials for outbound connections.

public static final int
LOGON32_LOGON_SERVICE

Indicates a service-type logon.

public static final int
LOGON32_LOGON_UNLOCK

This logon type is for GINA DLLs that log on users who will be interactively using the computer.

public static final int
LOGON32_PROVIDER_DEFAULT

Use the standard logon provider for the system.

public static final int
LOGON32_PROVIDER_WINNT35

Use the Windows NT 3.5 logon provider.

public static final int
LOGON32_PROVIDER_WINNT40

Use the NTLM logon provider.

public static final int
LOGON32_PROVIDER_WINNT50

Use the negotiate logon provider.

public static final int
public static final int
MARKPARITY

Mark parity.

public static final int
MAX_COMPUTERNAME_LENGTH

Maximum computer name length.

public static final int
MOVEFILE_COPY_ALLOWED

If the file is to be moved to a different volume, the function simulates the move by using the CopyFile and DeleteFile functions.

public static final int
MOVEFILE_CREATE_HARDLINK

Reserved for future use.

public static final int
MOVEFILE_DELAY_UNTIL_REBOOT

The system does not move the file until the operating system is restarted.

public static final int
MOVEFILE_FAIL_IF_NOT_TRACKABLE

The function fails if the source file is a link source, but the file cannot be tracked after the move.

public static final int
MOVEFILE_REPLACE_EXISTING

If a file named lpNewFileName exists, the function replaces its contents with the contents of the lpExistingFileName file, provided that security requirements regarding access control lists (ACLs) are met.

public static final int
MOVEFILE_WRITE_THROUGH

The function does not return until the file is actually moved on the disk.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
NOPARITY

No parity.

public static final int
ODDPARITY

Odd parity.

public static final int
ONE5STOPBITS

1.5 stop bits.

public static final int
ONESTOPBIT

1 stop bit.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
RTS_CONTROL_DISABLE

Disables the RTS line when the device is opened and leaves it disabled.

public static final int
RTS_CONTROL_ENABLE

Enables the RTS line when the device is opened and leaves it on.

public static final int
RTS_CONTROL_HANDSHAKE

Enables RTS handshaking.

public static final int
RTS_CONTROL_TOGGLE

Specifies that the RTS line will be high if bytes are available for transmission.

public static final int
SPACEPARITY

Space parity.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
STILL_ACTIVE

Return code for a process still active.

public static final int
TWOSTOPBITS

2 stop bits.

public static final int
public static final int
public static final int
public static final int
Inherited from com.sun.jna.platform.win32.WinDef:
MAX_PATH