diff options
Diffstat (limited to 'CPP/Windows/FileIO.h')
-rwxr-xr-x | CPP/Windows/FileIO.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CPP/Windows/FileIO.h b/CPP/Windows/FileIO.h index ec936ac6..05c8bc16 100755 --- a/CPP/Windows/FileIO.h +++ b/CPP/Windows/FileIO.h @@ -53,9 +53,11 @@ class CInFile: public CFileBase { public: bool Open(LPCTSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes); + bool OpenShared(LPCTSTR fileName, bool shareForWrite); bool Open(LPCTSTR fileName); #ifndef _UNICODE bool Open(LPCWSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes); + bool OpenShared(LPCWSTR fileName, bool shareForWrite); bool Open(LPCWSTR fileName); #endif bool ReadPart(void *data, UInt32 size, UInt32 &processedSize); |