open

>>-open(-+---------------+-,subkey-+--------------+-)----------><
         +-parent_handle-+         +-,-| access |-+

access:

   +-ALL-+
|--+-----+------------------------------------------------------>

   +--------------------------------------------------------------+
   V                                                              |
>----+-------+-+------+-+-------+-+---------+-+--------+-+------+-+--|
     +-WRITE-+ +-READ-+ +-QUERY-+ +-EXECUTE-+ +-NOTIFY-+ +-LINK-+

Opens a named subkey and return its handle. See CREATE for more information about parent_handle. Possible values for access are:

ALL

Default

WRITE

Create subkeys, set values

READ

Query subkeys and values

QUERY

Values

EXECUTE

Key access, no subkey access

NOTIFY

Change notification

LINK

Create symbolic links

More than one value can be specified separated by blanks.

Notice that on Windows NT some keys require certain access rights and do not allow to open the key with all but only with certain access values.