JNative v1.3 project : see http://jnative.sf.net


org.xvolks.jnative.misc
Class REGSAM

java.lang.Object
  extended by org.xvolks.jnative.misc.REGSAM

public class REGSAM
extends java.lang.Object

The following table lists the specific access rights for registry key objects.

Value Meaning
KEY_ALL_ACCESS (0xF003F) 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_LINK (0x0020) Reserved for system use.
KEY_CREATE_SUB_KEY (0x0004) Required to create a subkey of a registry key.
KEY_ENUMERATE_SUB_KEYS (0x0008) Required to enumerate the subkeys of a registry key.
KEY_EXECUTE (0x20019) Equivalent to KEY_READ.
KEY_NOTIFY (0x0010) Required to request change notifications for a registry key or for subkeys of a registry key.
KEY_QUERY_VALUE (0x0001) Required to query the values of a registry key.
KEY_READ (0x20019) Combines the STANDARD_RIGHTS_READ, KEY_QUERY_VALUE, KEY_ENUMERATE_SUB_KEYS, and KEY_NOTIFY values.
KEY_SET_VALUE (0x0002) Required to create, delete, or set a registry value.
KEY_WOW64_32KEY (0x0200) Indicates that an application on 64-bit Windows should operate on the 32-bit registry view. For more information, see Accessing an Alternate Registry View in the MSDN.

This flag must be combined using the OR operator with the other flags in this table that either query or access registry values.

Windows 2000: This flag is not supported.
KEY_WOW64_64KEY (0x0100) Indicates that an application on 64-bit Windows should operate on the 64-bit registry view. For more information, see Accessing an Alternate Registry View in the MSDN.

This flag must be combined using the OR operator with the other flags in this table that either query or access registry values.

Windows 2000: This flag is not supported.
KEY_WRITE (0x20006) Combines the STANDARD_RIGHTS_WRITE, KEY_SET_VALUE, and KEY_CREATE_SUB_KEY access rights.

$Id: REGSAM.java,v 1.1 2006/06/04 21:44:58 mdenty Exp $ This software is released under the LGPL.


Field Summary
static REGSAM KEY_ALL_ACCESS
           
static REGSAM KEY_CREATE_LINK
           
static REGSAM KEY_CREATE_SUB_KEY
           
static REGSAM KEY_ENUMERATE_SUB_KEYS
           
static REGSAM KEY_EXECUTE
           
static REGSAM KEY_NOTIFY
           
static REGSAM KEY_QUERY_VALUE
           
static REGSAM KEY_READ
           
static REGSAM KEY_SET_VALUE
           
static REGSAM KEY_WOW64_32KEY
           
static REGSAM KEY_WOW64_64KEY
           
static REGSAM KEY_WRITE
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getValue()
           
 REGSAM or(REGSAM value)
          Performs a logical or between two REGSAM objects
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_ALL_ACCESS

public static final REGSAM KEY_ALL_ACCESS

KEY_CREATE_LINK

public static final REGSAM KEY_CREATE_LINK

KEY_CREATE_SUB_KEY

public static final REGSAM KEY_CREATE_SUB_KEY

KEY_ENUMERATE_SUB_KEYS

public static final REGSAM KEY_ENUMERATE_SUB_KEYS

KEY_EXECUTE

public static final REGSAM KEY_EXECUTE

KEY_NOTIFY

public static final REGSAM KEY_NOTIFY

KEY_QUERY_VALUE

public static final REGSAM KEY_QUERY_VALUE

KEY_READ

public static final REGSAM KEY_READ

KEY_SET_VALUE

public static final REGSAM KEY_SET_VALUE

KEY_WOW64_32KEY

public static final REGSAM KEY_WOW64_32KEY

KEY_WOW64_64KEY

public static final REGSAM KEY_WOW64_64KEY

KEY_WRITE

public static final REGSAM KEY_WRITE
Method Detail

getValue

public int getValue()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

or

public REGSAM or(REGSAM value)
Performs a logical or between two REGSAM objects

Parameters:
value -
Returns:
a REGSAM or

JNative v1.3 project : see http://jnative.sf.net