- java.lang.Object
-
- de.ibapl.jnhw.winapi.Winnt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWinnt.ArrayOfHandlestatic classWinnt.HANDLEWrapper for HANDLE.static classWinnt.LPWSTRWrapper for LPWSTR.static classWinnt.PAPCFUNCstatic classWinnt.PHANDLEWrapper for PHANDLE.
-
Field Summary
Fields Modifier and Type Field Description static intACCESS_SYSTEM_SECURITYstatic intCOMPRESSION_ENGINE_HIBERstatic intCOMPRESSION_ENGINE_MAXIMUMstatic intCOMPRESSION_ENGINE_STANDARDstatic intCOMPRESSION_FORMAT_DEFAULTstatic intCOMPRESSION_FORMAT_LZNT1static intCOMPRESSION_FORMAT_NONEstatic intCOMPRESSION_FORMAT_XPRESSstatic intCOMPRESSION_FORMAT_XPRESS_HUFFstatic intDELETEstatic intFILE_ATTRIBUTE_ARCHIVEFILE_ATTRIBUTE_ARCHIVE The file should be archived.static intFILE_ATTRIBUTE_ENCRYPTEDFILE_ATTRIBUTE_ENCRYPTED The file or directory is encrypted.static intFILE_ATTRIBUTE_HIDDENFILE_ATTRIBUTE_HIDDEN The file is hidden.static intFILE_ATTRIBUTE_NORMALFILE_ATTRIBUTE_NORMAL The file does not have other attributes set.static intFILE_ATTRIBUTE_OFFLINEFILE_ATTRIBUTE_OFFLINE The data of a file is not immediately available.static intFILE_ATTRIBUTE_READONLYFILE_ATTRIBUTE_READONLY The file is read only.static intFILE_ATTRIBUTE_SYSTEMFILE_ATTRIBUTE_SYSTEM The file is part of or used exclusively by an operating system.static intFILE_ATTRIBUTE_TEMPORARYFILE_ATTRIBUTE_TEMPORARY The file is being used for temporary storage.static intFILE_SHARE_DELETEFILE_SHARE_DELETE Enables subsequent open operations on a file or device to request delete access.static intFILE_SHARE_READFILE_SHARE_READ Enables subsequent open operations on a file or device to request read access.static intFILE_SHARE_WRITEFILE_SHARE_WRITE Enables subsequent open operations on a file or device to request write access.static intGENERIC_ALLGENERIC_ALL All possible access rightsstatic intGENERIC_EXECUTEGENERIC_EXECUTE Execute accessstatic intGENERIC_READGENERIC_READ Read accessstatic intGENERIC_WRITEGENERIC_WRITE Write accessstatic intKEY_ALL_ACCESSKEY_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.static intKEY_CREATE_LINKKEY_CREATE_LINK Reserved for system use.static intKEY_CREATE_SUB_KEYKEY_CREATE_SUB_KEY Required to create a subkey of a registry key.static intKEY_ENUMERATE_SUB_KEYSKEY_ENUMERATE_SUB_KEYS Required to enumerate the subkeys of a registry key.static intKEY_EXECUTEKEY_EXECUTE Equivalent to KEY_READ.static intKEY_NOTIFYKEY_NOTIFY Required to request change notifications for a registry key or for subkeys of a registry key.static intKEY_QUERY_VALUEKEY_QUERY_VALUE Required to query the values of a registry key.static intKEY_READKEY_READ Combines the STANDARD_RIGHTS_READ, KEY_QUERY_VALUE, KEY_ENUMERATE_SUB_KEYS, and KEY_NOTIFY values.static intKEY_SET_VALUEKEY_SET_VALUE ombines the STANDARD_RIGHTS_WRITE, KEY_SET_VALUE, and KEY_CREATE_SUB_KEY access rights.static longMAXDWORDunsigned long int so to preserve the signess use javas longstatic intMAXIMUM_ALLOWEDstatic intMAXIMUM_WAIT_OBJECTSMAXIMUM_WAIT_OBJECTS The state of the specified object is signaled.static intREAD_CONTROLstatic intREG_BINARYREG_BINARY Binary data in any form.static intREG_CREATED_NEW_KEYREG_CREATED_NEW_KEY The key did not exist and was created.static intREG_DWORDREG_BINARY A 32-bit number.static intREG_DWORD_BIG_ENDIANREG_DWORD_BIG_ENDIAN A 32-bit number in big-endian format.static intREG_DWORD_LITTLE_ENDIANREG_DWORD_LITTLE_ENDIAN A 32-bit number in little-endian format.static intREG_EXPAND_SZREG_EXPAND_SZ A null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%").static intREG_FULL_RESOURCE_DESCRIPTORstatic intREG_LINKREG_LINK A null-terminated Unicode string that contains the target path of a symbolic link that was created by calling the RegCreateKeyEx function withREG_OPTION_CREATE_LINK.static intREG_MULTI_SZREG_MULTI_SZ A sequence of null-terminated strings, terminated by an empty string (\0).static intREG_NONEREG_NONE No defined value type.static intREG_OPENED_EXISTING_KEYREG_OPENED_EXISTING_KEY The key existed and was simply opened without being changed.static intREG_OPTION_BACKUP_RESTOREREG_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.static intREG_OPTION_CREATE_LINKREG_OPTION_CREATE_LINK This key is a symbolic link.static intREG_OPTION_NON_VOLATILEREG_OPTION_NON_VOLATILE This key is not volatile; this is the default.static intREG_OPTION_OPEN_LINKREG_OPTION_OPEN_LINK The key is a symbolic link.static intREG_OPTION_VOLATILEREG_OPTION_VOLATILE All keys created by the function are volatile.static intREG_QWORDREG_QWORD A 64-bit number.static intREG_QWORD_LITTLE_ENDIANREG_QWORD_LITTLE_ENDIAN A 64-bit number in little-endian format.static intREG_RESOURCE_LISTstatic intREG_RESOURCE_REQUIREMENTS_LISTstatic intREG_SZREG_SZ A null-terminated string.static intSPECIFIC_RIGHTS_ALLstatic intSTANDARD_RIGHTS_ALLstatic intSTANDARD_RIGHTS_EXECUTEstatic intSTANDARD_RIGHTS_READstatic intSTANDARD_RIGHTS_REQUIREDstatic intSTANDARD_RIGHTS_WRITEstatic intSTATUS_ABANDONED_WAIT_0static intSTATUS_USER_APCstatic intSTATUS_WAIT_0static intSYNCHRONIZEstatic intWRITE_DACstatic intWRITE_OWNER
-
Constructor Summary
Constructors Constructor Description Winnt()
-
-
-
Field Detail
-
ACCESS_SYSTEM_SECURITY
@Define public static final int ACCESS_SYSTEM_SECURITY
- See Also:
- Constant Field Values
-
COMPRESSION_ENGINE_HIBER
@Define public static final int COMPRESSION_ENGINE_HIBER
- See Also:
- Constant Field Values
-
COMPRESSION_ENGINE_MAXIMUM
@Define public static final int COMPRESSION_ENGINE_MAXIMUM
- See Also:
- Constant Field Values
-
COMPRESSION_ENGINE_STANDARD
@Define public static final int COMPRESSION_ENGINE_STANDARD
- See Also:
- Constant Field Values
-
COMPRESSION_FORMAT_DEFAULT
@Define public static final int COMPRESSION_FORMAT_DEFAULT
- See Also:
- Constant Field Values
-
COMPRESSION_FORMAT_LZNT1
@Define public static final int COMPRESSION_FORMAT_LZNT1
- See Also:
- Constant Field Values
-
COMPRESSION_FORMAT_NONE
@Define public static final int COMPRESSION_FORMAT_NONE
- See Also:
- Constant Field Values
-
COMPRESSION_FORMAT_XPRESS
@Define public static final int COMPRESSION_FORMAT_XPRESS
- See Also:
- Constant Field Values
-
COMPRESSION_FORMAT_XPRESS_HUFF
@Define public static final int COMPRESSION_FORMAT_XPRESS_HUFF
- See Also:
- Constant Field Values
-
DELETE
@Define public static final int DELETE
- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE_ARCHIVE
@Define public static final int FILE_ATTRIBUTE_ARCHIVE
FILE_ATTRIBUTE_ARCHIVE The file should be archived. Applications use this attribute to mark files for backup or removal.- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE_ENCRYPTED
@Define public static final int FILE_ATTRIBUTE_ENCRYPTED
FILE_ATTRIBUTE_ENCRYPTED The file or directory is encrypted. For a file, this means that all data in the file is encrypted.- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE_HIDDEN
@Define public static final int FILE_ATTRIBUTE_HIDDEN
FILE_ATTRIBUTE_HIDDEN The file is hidden. Do not include it in an ordinary directory listing.- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE_NORMAL
@Define public static final int FILE_ATTRIBUTE_NORMAL
FILE_ATTRIBUTE_NORMAL The file does not have other attributes set. This attribute is valid only if used alone.- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE_OFFLINE
@Define public static final int FILE_ATTRIBUTE_OFFLINE
FILE_ATTRIBUTE_OFFLINE The data of a file is not immediately available.- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE_READONLY
@Define public static final int FILE_ATTRIBUTE_READONLY
FILE_ATTRIBUTE_READONLY The file is read only. Applications can read the file, but cannot write to or delete it.- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE_SYSTEM
@Define public static final int FILE_ATTRIBUTE_SYSTEM
FILE_ATTRIBUTE_SYSTEM The file is part of or used exclusively by an operating system.- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE_TEMPORARY
@Define public static final int FILE_ATTRIBUTE_TEMPORARY
FILE_ATTRIBUTE_TEMPORARY The file is being used for temporary storage.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
GENERIC_ALL
@Define public static final int GENERIC_ALL
GENERIC_ALL All possible access rights- See Also:
- Constant Field Values
-
GENERIC_EXECUTE
@Define public static final int GENERIC_EXECUTE
GENERIC_EXECUTE Execute access- See Also:
- Constant Field Values
-
GENERIC_READ
@Define public static final int GENERIC_READ
GENERIC_READ Read access- See Also:
- Constant Field Values
-
GENERIC_WRITE
@Define public static final int GENERIC_WRITE
GENERIC_WRITE Write access- See Also:
- Constant Field Values
-
KEY_CREATE_LINK
@Define public static final int KEY_CREATE_LINK
KEY_CREATE_LINK Reserved for system use.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
KEY_QUERY_VALUE
@Define public static final int KEY_QUERY_VALUE
KEY_QUERY_VALUE Required to query the values of a registry key.- See Also:
- Constant Field 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.- See Also:
- Constant Field Values
-
MAXDWORD
@Define public static final long MAXDWORD
unsigned long int so to preserve the signess use javas long- See Also:
- Constant Field Values
-
MAXIMUM_ALLOWED
@Define public static final int MAXIMUM_ALLOWED
- See Also:
- Constant Field Values
-
MAXIMUM_WAIT_OBJECTS
@Define public static final int MAXIMUM_WAIT_OBJECTS
MAXIMUM_WAIT_OBJECTS The state of the specified object is signaled.- See Also:
- Constant Field Values
-
READ_CONTROL
@Define public static final int READ_CONTROL
- See Also:
- Constant Field Values
-
REG_BINARY
@Define public static final int REG_BINARY
REG_BINARY Binary data in any form.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
REG_DWORD
@Define public static final int REG_DWORD
REG_BINARY A 32-bit number.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
REG_DWORD_LITTLE_ENDIAN
@Define public static final int REG_DWORD_LITTLE_ENDIAN
REG_DWORD_LITTLE_ENDIAN A 32-bit number in little-endian format.- See Also:
- Constant Field Values
-
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%").- See Also:
- Constant Field Values
-
REG_FULL_RESOURCE_DESCRIPTOR
@Define public static final int REG_FULL_RESOURCE_DESCRIPTOR
- See Also:
- Constant Field Values
-
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 withREG_OPTION_CREATE_LINK.- See Also:
- Constant Field Values
-
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).- See Also:
- Constant Field Values
-
REG_NONE
@Define public static final int REG_NONE
REG_NONE No defined value type.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
REG_OPTION_OPEN_LINK
@Define public static final int REG_OPTION_OPEN_LINK
REG_OPTION_OPEN_LINK The key is a symbolic link.- See Also:
- Constant Field Values
-
REG_OPTION_VOLATILE
@Define public static final int REG_OPTION_VOLATILE
REG_OPTION_VOLATILE All keys created by the function are volatile.- See Also:
- Constant Field Values
-
REG_QWORD
@Define public static final int REG_QWORD
REG_QWORD A 64-bit number.- See Also:
- Constant Field Values
-
REG_QWORD_LITTLE_ENDIAN
@Define public static final int REG_QWORD_LITTLE_ENDIAN
REG_QWORD_LITTLE_ENDIAN A 64-bit number in little-endian format.- See Also:
- Constant Field Values
-
REG_RESOURCE_LIST
@Define public static final int REG_RESOURCE_LIST
- See Also:
- Constant Field Values
-
REG_RESOURCE_REQUIREMENTS_LIST
@Define public static final int REG_RESOURCE_REQUIREMENTS_LIST
- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
SPECIFIC_RIGHTS_ALL
@Define public static final int SPECIFIC_RIGHTS_ALL
- See Also:
- Constant Field Values
-
STANDARD_RIGHTS_ALL
@Define public static final int STANDARD_RIGHTS_ALL
- See Also:
- Constant Field Values
-
STANDARD_RIGHTS_EXECUTE
@Define public static final int STANDARD_RIGHTS_EXECUTE
- See Also:
- Constant Field Values
-
STANDARD_RIGHTS_READ
@Define public static final int STANDARD_RIGHTS_READ
- See Also:
- Constant Field Values
-
STANDARD_RIGHTS_REQUIRED
@Define public static final int STANDARD_RIGHTS_REQUIRED
- See Also:
- Constant Field Values
-
STANDARD_RIGHTS_WRITE
@Define public static final int STANDARD_RIGHTS_WRITE
- See Also:
- Constant Field Values
-
STATUS_ABANDONED_WAIT_0
@Define public static final int STATUS_ABANDONED_WAIT_0
- See Also:
- Constant Field Values
-
STATUS_USER_APC
@Define public static final int STATUS_USER_APC
- See Also:
- Constant Field Values
-
STATUS_WAIT_0
@Define public static final int STATUS_WAIT_0
- See Also:
- Constant Field Values
-
SYNCHRONIZE
@Define public static final int SYNCHRONIZE
- See Also:
- Constant Field Values
-
WRITE_DAC
@Define public static final int WRITE_DAC
- See Also:
- Constant Field Values
-
WRITE_OWNER
@Define public static final int WRITE_OWNER
- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
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.- See Also:
- Constant Field Values
-
KEY_EXECUTE
@Define public static final int KEY_EXECUTE
KEY_EXECUTE Equivalent to KEY_READ.- See Also:
- Constant Field Values
-
-