|
JWSCL Documentation
|
constructor Create(const RegKey: HKEY; AccessMask: TJwAccessMask = 0; bDuplicateHandle: boolean = False); overload;
|
Parameters |
Description |
|
const RegKey: HKEY |
defines the handle to be used. It will be duplicated if parameter bDuplicateHandle is true. In this case AccessMask defines which access will be allowed on to the handle. It always can only equal or smaller than the original access mask. If AccessMask is zero (or DUPLICATE_SAME_ACCESS) the handle will be duplicated with same access. A duplicated handle is automatically closed if the instace is destroyed. |
|
AccessMask: TJwAccessMask = 0 |
gets the desired access mask to the new handle. If set to 0 the same access mask of the old handle is used. |
|
bDuplicateHandle: boolean = False |
defines whether the handle should be duplicated or directly be used |
Create creates an registry object instance using a key handle. The handle will be duplicated using DuplicateHandle. By default the same access mask is used.
|
Exceptions |
Description |
|
will be raised if file handle could not be copied. |
|
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!
|