Class Winnt


  • @Include("winnt.h")
    public final class Winnt
    extends Object
    Wrapper around the winnt.h header.
    Author:
    aploese
    • Field Detail

      • FILE_SHARE_DELETE

        @Define
        public static final int FILE_SHARE_DELETE
        FILE_SHARE_DELETE Enables subsequent open operations on a file or device to request delete access.
      • FILE_SHARE_READ

        @Define
        public static final int FILE_SHARE_READ
        FILE_SHARE_READ Enables subsequent open operations on a file or device to request read access.
      • FILE_SHARE_WRITE

        @Define
        public static final int FILE_SHARE_WRITE
        FILE_SHARE_WRITE Enables subsequent open operations on a file or device to request write access.
      • GENERIC_ALL

        @Define
        public static final int GENERIC_ALL
        GENERIC_ALL All possible access rights
      • HAVE_WINNT_H

        public static final boolean HAVE_WINNT_H
      • KEY_ALL_ACCESS

        @Define
        public static final int KEY_ALL_ACCESS
        KEY_ALL_ACCESS Combines the STANDARD_RIGHTS_REQUIRED, KEY_QUERY_VALUE, KEY_SET_VALUE, KEY_CREATE_SUB_KEY, KEY_ENUMERATE_SUB_KEYS, KEY_NOTIFY, and KEY_CREATE_LINK access rights.
      • KEY_CREATE_SUB_KEY

        @Define
        public static final int KEY_CREATE_SUB_KEY
        KEY_CREATE_SUB_KEY Required to create a subkey of a registry key.
      • KEY_ENUMERATE_SUB_KEYS

        @Define
        public static final int KEY_ENUMERATE_SUB_KEYS
        KEY_ENUMERATE_SUB_KEYS Required to enumerate the subkeys of a registry key.
      • KEY_EXECUTE

        @Define
        public static final int KEY_EXECUTE
        KEY_EXECUTE Equivalent to KEY_READ.
      • KEY_NOTIFY

        @Define
        public static final int KEY_NOTIFY
        KEY_NOTIFY Required to request change notifications for a registry key or for subkeys of a registry key.
      • KEY_QUERY_VALUE

        @Define
        public static final int KEY_QUERY_VALUE
        KEY_QUERY_VALUE Required to query the values of a registry key.
      • KEY_READ

        @Define
        public static final int KEY_READ
        KEY_READ Combines the STANDARD_RIGHTS_READ, KEY_QUERY_VALUE, KEY_ENUMERATE_SUB_KEYS, and KEY_NOTIFY values.
      • KEY_SET_VALUE

        @Define
        public static final int KEY_SET_VALUE
        KEY_SET_VALUE ombines the STANDARD_RIGHTS_WRITE, KEY_SET_VALUE, and KEY_CREATE_SUB_KEY access rights.
      • MAXDWORD

        @Define
        public static final long MAXDWORD
        unsigned long int so to preserve the signess use javas long
      • REG_BINARY

        @Define
        public static final int REG_BINARY
        REG_BINARY Binary data in any form.
      • REG_CREATED_NEW_KEY

        @Define
        public static final int REG_CREATED_NEW_KEY
        REG_CREATED_NEW_KEY The key did not exist and was created.
      • REG_DWORD_BIG_ENDIAN

        @Define
        public static final int REG_DWORD_BIG_ENDIAN
        REG_DWORD_BIG_ENDIAN A 32-bit number in big-endian format.
      • REG_EXPAND_SZ

        @Define
        public static final int REG_EXPAND_SZ
        REG_EXPAND_SZ A null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%").
      • REG_FULL_RESOURCE_DESCRIPTOR

        @Define
        public static final int REG_FULL_RESOURCE_DESCRIPTOR
      • REG_LINK

        @Define
        public static final int REG_LINK
        REG_LINK A null-terminated Unicode string that contains the target path of a symbolic link that was created by calling the RegCreateKeyEx function with REG_OPTION_CREATE_LINK.
      • REG_MULTI_SZ

        @Define
        public static final int REG_MULTI_SZ
        REG_MULTI_SZ A sequence of null-terminated strings, terminated by an empty string (\0).
      • REG_NONE

        @Define
        public static final int REG_NONE
        REG_NONE No defined value type.
      • REG_OPENED_EXISTING_KEY

        @Define
        public static final int REG_OPENED_EXISTING_KEY
        REG_OPENED_EXISTING_KEY The key existed and was simply opened without being changed.
      • REG_OPTION_BACKUP_RESTORE

        @Define
        public static final int REG_OPTION_BACKUP_RESTORE
        REG_OPTION_BACKUP_RESTORE If this flag is set, the function ignores the samDesired parameter and attempts to open the key with the access required to backup or restore the key.The key is a symbolic link.
      • REG_OPTION_CREATE_LINK

        @Define
        public static final int REG_OPTION_CREATE_LINK
        REG_OPTION_CREATE_LINK This key is a symbolic link. The target path is assigned to the L"SymbolicLinkValue" value of the key.
      • REG_OPTION_NON_VOLATILE

        @Define
        public static final int REG_OPTION_NON_VOLATILE
        REG_OPTION_NON_VOLATILE This key is not volatile; this is the default.
      • REG_OPTION_VOLATILE

        @Define
        public static final int REG_OPTION_VOLATILE
        REG_OPTION_VOLATILE All keys created by the function are volatile.
      • REG_QWORD

        @Define
        public static final int REG_QWORD
        REG_QWORD A 64-bit number.
      • REG_RESOURCE_LIST

        @Define
        public static final int REG_RESOURCE_LIST
      • REG_RESOURCE_REQUIREMENTS_LIST

        @Define
        public static final int REG_RESOURCE_REQUIREMENTS_LIST
      • REG_SZ

        @Define
        public static final int REG_SZ
        REG_SZ A null-terminated string. This will be either a Unicode or an ANSI string, depending on whether you use the Unicode or ANSI functions.
    • Constructor Detail

      • Winnt

        public Winnt()