WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclFileStream::CwclFileStream Constructor

Creates new file stream object.

Syntax
C++
CwclFileStream(tstring FileName, unsigned long CreationDisposition, unsigned long DesiredAccess, unsigned long ShareMode);
Parameters 
Description 
tstring FileName 
The file name.  
unsigned long CreationDisposition 
An action to take on a file or device that exists or does not exist.  
unsigned long DesiredAccess 
The requested access to the file or device, which can be summarized as read, write, both or neither zero).  
unsigned long 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 
Description 
 
Copyright (c) 2006-2019. All rights reserved.