# IRsFileHandle.h File Reference

## Classes
interface | IRsFileHandle
interface | IRsFileHandleDisp
## Enumerations
enum | ReFileHandleOpenFlags { RSFHNDO_NONE = 0x00000000, RSFHNDO_READ = 0x00000001, RSFHNDO_WRITE = 0x00000002, RSFHNDO_NO_CHNK_LIST = 0x00000004, RSFHNDO_NO_CHNK_SUPP = 0x00000008 }
| File handle open flags. IRsFileHandle::Open, IRiFileIOItem::CreateRsFileHandle, IRpFileIOPck::CreateRsFileHandle, IRpFileIOPck::CreateRsFileHandleForStream. More...
enum | ReFHndGetChunFlags { FHND_GET_CHUNK_FLG_NONE = 0x00000000, FHND_GET_CHUNK_FLG_MAKE_COPY = 0x00000001, FHND_GET_CHUNK_FLG_AS_UNKNOWN = 0x00000002 }
| Get file chunk flags See IRsFileHandle::GetChunk and IRsFileHandleDisp::GetChunk methods. More...

## Detailed Description

## Enumeration Type Documentation

enum ReFileHandleOpenFlags

File handle open flags. IRsFileHandle::Open, IRiFileIOItem::CreateRsFileHandle, IRpFileIOPck::CreateRsFileHandle, IRpFileIOPck::CreateRsFileHandleForStream.

Enumerator:

  RSFHNDO_NONE | None:.
  RSFHNDO_READ | If set, it means you can read from opened stream:.
  RSFHNDO_WRITE | Specify if you want modify the stream. Note: If only RSFHNDO_WRITE is specified, you can only write into the stream. If the stream already contains a data, they will be replaced.
  RSFHNDO_NO_CHNK_LIST | Don't add chunk list or remove it if the stream was created or modified:.
  RSFHNDO_NO_CHNK_SUPP | Disable chunks, thus only plain stream is used:.

enum ReFHndGetChunFlags

Get file chunk flags
See IRsFileHandle::GetChunk and IRsFileHandleDisp::GetChunk methods.

Enumerator:

  FHND_GET_CHUNK_FLG_NONE | None:.
  FHND_GET_CHUNK_FLG_MAKE_COPY | Get chunk's copy:.
  FHND_GET_CHUNK_FLG_AS_UNKNOWN | Load the chunk as unknown, so it will be read not as object but as a stream only (none processing).