Menu

#216 Registry functions and ShellVarContext

closed
General (118)
5
2005-02-17
2005-02-17
No

It would be very usefull, if the functions for registry
access would support an additional "pseudo-key" which
expands to either HKLM or HKCU depending on the
ShellVarContext.

Currently if have to duplicate all functions to either call
them with HKCU or HKLM depending on the
ShellVarContext. Perhaps there is an easier solution, but
I did not manage to pass the key via a variable to the
registry functions.

Discussion

  • Amir Szekely

    Amir Szekely - 2005-02-17
    • assigned_to: nobody --> kichik
    • status: open --> closed
     
  • Amir Szekely

    Amir Szekely - 2005-02-17

    Logged In: YES
    user_id=584402

    I've been meaning to do this for a while now. Your feature
    request was a good excuse to finally do it =)

    I've added SHCTX and SHELL_CONTEXT as possible root keys for
    all registry instructions. When used, it's replaced on
    runtime with HKLM or HKCU according to SetShellVarContext.

     

Log in to post a comment.