|
JWSCL Documentation
|
constructor Create(const F: TFileStream; AccessMask: TJwAccessMask = 0); overload;
|
Parameters |
Description |
|
const F: TFileStream |
gets the filestream to be used to get or set the security data. |
|
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. |
Create creates an file object instance using a filestream (but not the file itself!)
FileStream does not support SACL retrieving or setting. The reason is because a TFilestream instance does not open the file with an access mask including ACCESS_SYSTEM_SECURITY which is necessary to open a file to retrieve the SACL. To do so, use Create with a filename or file handle. See also MSDN: http://support.microsoft.com/?scid=kb%3Ben-us%3B240184&x=11&y=11
The property Handle will be set to the duplicated file handle.
|
Exceptions |
Description |
|
will be raised if parameter F is nil) |
|
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!
|