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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     

    Nested classes/interfaces inherited from interface com.sun.jna.Library

    com.sun.jna.Library.Handler

    Nested classes/interfaces inherited from interface com.sun.jna.win32.StdCallLibrary

    com.sun.jna.win32.StdCallLibrary.StdCallCallback
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map
    Standard options to use the ASCII/MBCS version of a w32 API.
    static final Map
     
    static final W32API.HANDLE
    Constant value representing an invalid HANDLE.
    static final Map
    Standard options to use the unicode version of a w32 API.

    Fields inherited from interface com.sun.jna.Library

    OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER

    Fields inherited from interface com.sun.jna.win32.StdCallLibrary

    FUNCTION_MAPPER, STDCALL_CONVENTION

    Fields inherited from interface org.zeroturnaround.process.win.W32Errors

    ERROR_FILE_NOT_FOUND, ERROR_INVALID_FUNCTION, ERROR_PATH_NOT_FOUND, NO_ERROR
  • Field Details

    • 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.