org.zeroturnaround.process.win
Interface W32API

All Superinterfaces:
com.sun.jna.AltCallingConvention, com.sun.jna.Library, com.sun.jna.win32.StdCall, com.sun.jna.win32.StdCallLibrary, W32Errors
All Known Subinterfaces:
Kernel32

public interface W32API
extends com.sun.jna.win32.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.HANDLE
           
 
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 W32API.HANDLE INVALID_HANDLE_VALUE
          Constant value representing an invalid HANDLE.
static 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 org.zeroturnaround.process.win.W32Errors
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.


DEFAULT_OPTIONS

static final Map DEFAULT_OPTIONS

INVALID_HANDLE_VALUE

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



Copyright © 2015 ZeroTurnaround. All rights reserved.