|
JWSCL Documentation
|
constructor Create(const FileHandle: THandle; AccessMask: TJwAccessMask = 0; bDuplicateHandle: boolean = False); overload;
|
Parameters |
Description |
|
const FileHandle: THandle |
defines the file 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 file handle is automatically closed if the instace is destroyed. |
|
AccessMask: TJwAccessMask = 0 |
gets the desired access mask to the new file handle. If set to 0 the same access mask of the old handle is used. |
|
bDuplicateHandle: boolean = False |
defines whether the file handle should be duplicated or directly be used |
Create creates an file object instance using a filehandle The file handle will be duplicated using DuplicateHandle. By default the same access mask is used.
|
Exceptions |
Description |
|
will be raised if the file handle could not be copied. TJwSecureFileObject |
|
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!
|