|
JWSCL Documentation
|
function GetCurrentUserRegKey(const DesiredAccess: TJwAccessMask): HKEY;
|
Parameters |
Description |
|
const DesiredAccess: TJwAccessMask |
defines desired access mask to this key. MAXIMUM_ALLOWED can be used to get maximum access to the key. |
Returns a handle to the key. Use RegCloseKey to close the key
GetCurrentUserRegKey opens a registry key HKEY_CURRENT_USER of the current thread token. Use it instead of directly access HKEY_CURRENT_USER if you want to access the user registry of an impersonated user.
|
Exceptions |
Description |
|
will be raised if the call to RegOpenCurrentUser failed |
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|