JNA API 3.0.7

com.sun.jna.examples.win32
Interface W32API

All Superinterfaces:
AltCallingConvention, Library, StdCall, StdCallLibrary, W32Errors
All Known Subinterfaces:
GDI32, Kernel32, Shell32, User32

public interface W32API
extends StdCallLibrary, W32Errors

Base type for most W32 API libraries. Provides standard options for unicode/ASCII mappings. Set the system property w32.ascii to true to default to the ASCII mappings.


Nested Class Summary
static class W32API.DWORD
           
static class W32API.HANDLE
           
static class W32API.HANDLEByReference
          LPHANDLE
static class W32API.HBITMAP
           
static class W32API.HDC
           
static class W32API.HICON
           
static class W32API.HINSTANCE
           
static class W32API.HMODULE
           
static class W32API.HRGN
           
static class W32API.HWND
           
static class W32API.LONG_PTR
           
static class W32API.LPARAM
           
static class W32API.LRESULT
           
static class W32API.SIZE_T
           
static class W32API.SSIZE_T
           
static class W32API.UINT_PTR
           
static class W32API.ULONG_PTR
           
static class W32API.WORD
           
static class W32API.WPARAM
           
 
Nested classes/interfaces inherited from interface com.sun.jna.win32.StdCallLibrary
StdCallLibrary.StdCallCallback
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
Library.Handler
 
Field Summary
static java.util.Map ASCII_OPTIONS
          Standard options to use the ASCII/MBCS version of a w32 API.
static java.util.Map DEFAULT_OPTIONS
           
static W32API.HWND HWND_BROADCAST
          Special HWND value.
static W32API.HANDLE INVALID_HANDLE_VALUE
          Constant value representing an invalid HANDLE.
static java.util.Map UNICODE_OPTIONS
          Standard options to use the unicode version of a w32 API.
 
Fields inherited from interface com.sun.jna.win32.StdCallLibrary
FUNCTION_MAPPER, STDCALL_CONVENTION
 
Fields inherited from interface com.sun.jna.Library
OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Fields inherited from interface com.sun.jna.examples.win32.W32Errors
ERROR_FILE_NOT_FOUND, ERROR_INVALID_FUNCTION, ERROR_PATH_NOT_FOUND, NO_ERROR
 

Field Detail

UNICODE_OPTIONS

static final java.util.Map UNICODE_OPTIONS
Standard options to use the unicode version of a w32 API.


ASCII_OPTIONS

static final java.util.Map ASCII_OPTIONS
Standard options to use the ASCII/MBCS version of a w32 API.


DEFAULT_OPTIONS

static final java.util.Map DEFAULT_OPTIONS

INVALID_HANDLE_VALUE

static final W32API.HANDLE INVALID_HANDLE_VALUE
Constant value representing an invalid HANDLE.


HWND_BROADCAST

static final W32API.HWND HWND_BROADCAST
Special HWND value.


JNA API 3.0.7

Copyright © 2007-2008 Timothy Wall. All Rights Reserved.