|
◆ CwclFileStream()
CwclFileStream |
( |
const tstring & |
FileName, |
|
|
const unsigned long |
CreationDisposition, |
|
|
const unsigned long |
DesiredAccess, |
|
|
const unsigned long |
ShareMode |
|
) |
| |
Creates new file stream object.
- Parameters
-
FileName | The file name. |
CreationDisposition | An action to take on a file or device that exists or does not exist. |
DesiredAccess | The requested access to the file or device, which can be summarized as read, write, both or neither zero). |
ShareMode | The requested sharing mode of the file or device, which can be read, write, both, delete, all of these, or none (refer to the following table). Access requests to attributes or extended attributes are not affected by this flag. |
If the open or create file failed the wclEFileOpenFailed exception raises.
- Exceptions
-
|