jcommon.core.platform.win32
Interface Win32Library

All Superinterfaces:
com.sun.jna.AltCallingConvention, com.sun.jna.Library, com.sun.jna.win32.StdCall, com.sun.jna.win32.StdCallLibrary, Win32Errors
All Known Implementing Classes:
Win32Platform.Kernel32, Win32Platform.MSVCRT

public interface Win32Library
extends com.sun.jna.win32.StdCallLibrary, Win32Errors

Provides some common functionality for Win32Platform libraries. The options handle mapping function names to platform-specific unicode and ascii equivalents. Courtesy JNA project: https://jna.dev.java.net/source/browse/jna/trunk/jnalib/src/com/sun/jna/examples/win32/W32API.java?rev=963&view=markup

Author:
David Hoyt

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.win32.StdCallLibrary
com.sun.jna.win32.StdCallLibrary.StdCallCallback
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
static Map ASCII_OPTIONS
          Standard options to use the ASCII/MBCS version of a w32 API.
static Map DEFAULT_OPTIONS
           
static Map UNICODE_OPTIONS
          Standard options to use the unicode version of a w32 API.
static boolean USE_ASCII
           
static boolean USE_UNICODE
           
 
Fields inherited from interface com.sun.jna.win32.StdCallLibrary
FUNCTION_MAPPER, STDCALL_CONVENTION
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Fields inherited from interface jcommon.core.platform.win32.Win32Errors
ERROR_FILE_NOT_FOUND, ERROR_INVALID_FUNCTION, ERROR_PATH_NOT_FOUND, NO_ERROR
 

Field Detail

UNICODE_OPTIONS

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


ASCII_OPTIONS

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


USE_ASCII

static final boolean USE_ASCII

USE_UNICODE

static final boolean USE_UNICODE

DEFAULT_OPTIONS

static final Map DEFAULT_OPTIONS


Copyright © 2012-2013. All Rights Reserved.