struct CCL::INativeFileStream

Overview

Interface to native file stream (extends IStream). More…

#include <inativefilesystem.h>

struct INativeFileStream: public CCL::IUnknown
{
    // enums

    enum Options;

    // methods

    virtual void*CCL_API getNativeFileStream () = 0;
    virtual void CCL_API setOptions (int options) = 0;
    virtual tbool CCL_API getPath (IUrl& path) = 0;
    virtual tbool CCL_API setEndOfFile (int64 eof) = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Interface to native file stream (extends IStream).

Methods

virtual void*CCL_API getNativeFileStream () = 0

Get native file stream representation (HANDLE on Windows).

virtual void CCL_API setOptions (int options) = 0

Set file read/write options.

virtual tbool CCL_API getPath (IUrl& path) = 0

Get file system path (not guaranteed to succeed).

virtual tbool CCL_API setEndOfFile (int64 eof) = 0

Set file size.