Logo Search packages:      
Sourcecode: libjna-java version File versions  Download package

com::sun::jna::examples::win32::Kernel32 Interface Reference

Inheritance diagram for com::sun::jna::examples::win32::Kernel32:

com::sun::jna::examples::win32::W32API com::sun::jna::win32::StdCallLibrary com::sun::jna::Library com::sun::jna::win32::StdCall com::sun::jna::AltCallingConvention

List of all members.


Detailed Description

Definition (incomplete) of kernel32.dll.

Definition at line 24 of file Kernel32.java.


Public Member Functions

boolean CloseHandle (HANDLE hObject)
boolean CreateDirectory ()
HANDLE CreateFile (String lpFileName, int dwDesiredAccess, int dwShareMode, SECURITY_ATTRIBUTES lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, HANDLE hTemplateFile)
HANDLE CreateIoCompletionPort (HANDLE FileHandle, HANDLE ExistingCompletionPort, Pointer CompletionKey, int NumberOfConcurrentThreads)
boolean DuplicateHandle (HANDLE hSourceProcessHandle, HANDLE hSourceHandle, HANDLE hTargetProcessHandle, HANDLEByReference lpTargetHandle, int dwDesiredAccess, boolean bInheritHandle, int dwOptions)
int FormatMessage (int dwFlags, Pointer lpSource, int dwMessageId, int dwLanguageId, Buffer lpBuffer, int nSize, Pointer va_list)
int FormatMessage (int dwFlags, Pointer lpSource, int dwMessageId, int dwLanguageId, PointerByReference lpBuffer, int nSize, Pointer va_list)
HANDLE GetCurrentProcess ()
int GetCurrentProcessId ()
HANDLE GetCurrentThread ()
int GetCurrentThreadId ()
int GetDriveType (String rootPathName)
int GetLastError ()
HMODULE GetModuleHandle (String name)
int GetProcessId (HANDLE process)
int GetProcessVersion (int processId)
boolean GetQueuedCompletionStatus (HANDLE CompletionPort, IntByReference lpNumberOfBytes, ByReference lpCompletionKey, PointerByReference lpOverlapped, int dwMilliseconds)
int GetShortPathName (String lpszLongPath, char[] lpdzShortPath, int cchBuffer)
int GetShortPathName (String lpszLongPath, byte[] lpdzShortPath, int cchBuffer)
void GetSystemTime (SYSTEMTIME result)
Pointer GlobalFree (Pointer hGlobal)
Pointer LocalFree (Pointer hLocal)
boolean PostQueuedCompletionStatus (HANDLE CompletionPort, int dwNumberOfBytesTransferred, Pointer dwCompletionKey, OVERLAPPED lpOverlapped)
boolean ReadDirectoryChangesW (HANDLE directory, FILE_NOTIFY_INFORMATION info, int length, boolean watchSubtree, int notifyFilter, IntByReference bytesReturned, OVERLAPPED overlapped, OVERLAPPED_COMPLETION_ROUTINE completionRoutine)
void SetLastError (int dwErrCode)
int WaitForSingleObject (HANDLE hHandle, int dwMilliseconds)

Public Attributes

Map ASCII_OPTIONS
int CREATE_ALWAYS = 2
int CREATE_NEW = 1
Map DEFAULT_OPTIONS = Boolean.getBoolean("w32.ascii") ? ASCII_OPTIONS : UNICODE_OPTIONS
int DRIVE_CDROM = 5
int DRIVE_FIXED = 3
int DRIVE_NO_ROOT_DIR = 1
int DRIVE_RAMDISK = 6
int DRIVE_REMOTE = 4
int DRIVE_REMOVABLE = 2
int DRIVE_UNKNOWN = 0
int ERROR_FILE_NOT_FOUND = 2
int ERROR_INVALID_FUNCTION = 1
int ERROR_PATH_NOT_FOUND = 3
int FILE_ACTION_ADDED = 1
int FILE_ACTION_MODIFIED = 3
int FILE_ACTION_REMOVED = 2
int FILE_ACTION_RENAMED_NEW_NAME = 5
int FILE_ACTION_RENAMED_OLD_NAME = 4
int FILE_ATTRIBUTE_ARCHIVE = 0x00000020
int FILE_ATTRIBUTE_COMPRESSED = 0x00000800
int FILE_ATTRIBUTE_DEVICE = 0x00000040
int FILE_ATTRIBUTE_DIRECTORY = 0x00000010
int FILE_ATTRIBUTE_ENCRYPTED = 0x00004000
int FILE_ATTRIBUTE_HIDDEN = 0x00000002
int FILE_ATTRIBUTE_NORMAL = 0x00000080
int FILE_ATTRIBUTE_NOT_CONTENT_INDEXED = 0x00002000
int FILE_ATTRIBUTE_OFFLINE = 0x00001000
int FILE_ATTRIBUTE_READONLY = 0x00000001
int FILE_ATTRIBUTE_REPARSE_POINT = 0x00000400
int FILE_ATTRIBUTE_SPARSE_FILE = 0x00000200
int FILE_ATTRIBUTE_SYSTEM = 0x00000004
int FILE_ATTRIBUTE_TEMPORARY = 0x00000100
int FILE_FLAG_BACKUP_SEMANTICS = 0x02000000
int FILE_FLAG_DELETE_ON_CLOSE = 0x04000000
int FILE_FLAG_NO_BUFFERING = 0x20000000
int FILE_FLAG_OPEN_NO_RECALL = 0x00100000
int FILE_FLAG_OPEN_REPARSE_POINT = 0x00200000
int FILE_FLAG_OVERLAPPED = 0x40000000
int FILE_FLAG_POSIX_SEMANTICS = 0x01000000
int FILE_FLAG_RANDOM_ACCESS = 0x10000000
int FILE_FLAG_SEQUENTIAL_SCAN = 0x08000000
int FILE_FLAG_WRITE_THROUGH = 0x80000000
int FILE_LIST_DIRECTORY = 0x00000001
int FILE_NOTIFY_CHANGE_ATTRIBUTES = 4
int FILE_NOTIFY_CHANGE_CREATION = 64
int FILE_NOTIFY_CHANGE_DIR_NAME = 2
int FILE_NOTIFY_CHANGE_EA = 128
int FILE_NOTIFY_CHANGE_FILE_NAME = 1
int FILE_NOTIFY_CHANGE_LAST_ACCESS = 32
int FILE_NOTIFY_CHANGE_LAST_WRITE = 16
int FILE_NOTIFY_CHANGE_NAME = 3
int FILE_NOTIFY_CHANGE_SECURITY = 256
int FILE_NOTIFY_CHANGE_SIZE = 8
int FILE_NOTIFY_CHANGE_STREAM_NAME = 512
int FILE_NOTIFY_CHANGE_STREAM_SIZE = 1024
int FILE_NOTIFY_CHANGE_STREAM_WRITE = 2048
int FILE_SHARE_DELETE = 4
int FILE_SHARE_READ = 1
int FILE_SHARE_WRITE = 2
int FORMAT_MESSAGE_ALLOCATE_BUFFER = 0x0100
int FORMAT_MESSAGE_FROM_SYSTEM = 0x1000
int FORMAT_MESSAGE_IGNORE_INSERTS = 0x200
FunctionMapper FUNCTION_MAPPER = new StdCallFunctionMapper()
int GENERIC_WRITE = 0x40000000
HWND HWND_BROADCAST
int INFINITE = 0xFFFFFFFF
HANDLE INVALID_HANDLE_VALUE
int OPEN_ALWAYS = 4
int OPEN_EXISTING = 3
String OPTION_FUNCTION_MAPPER = "function-mapper"
String OPTION_INVOCATION_MAPPER = "invocation-mapper"
String OPTION_STRUCTURE_ALIGNMENT = "structure-alignment"
int TRUNCATE_EXISTING = 5

Package Attributes

Kernel32 INSTANCE
int NO_ERROR = 0
String OPTION_TYPE_MAPPER = "type-mapper"
int STDCALL_CONVENTION = Function.ALT_CONVENTION
Map UNICODE_OPTIONS

Classes

class  FILE_NOTIFY_INFORMATION
class  OVERLAPPED
interface  OVERLAPPED_COMPLETION_ROUTINE
class  SECURITY_ATTRIBUTES
class  SYSTEMTIME

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index