Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: f32file.h
Link against: efsrv.lib

Class TOpenFileScan

TOpenFileScan

Support

Supported from 5.0

Description

Scans open files to get a list of the entries for all files which are currently open in a particular file server session.

NextL() creates a list of the files opened by the session. The ID of the thread which opened the files listed may be obtained by calling ThreadId(). If multiple sessions are in use, repeatedly calling NextL() will return a list of open files in each session.

Defined in TOpenFileScan:
NextL(), TOpenFileScan(), ThreadId()


Construction and destruction


TOpenFileScan()

TOpenFileScan(RFs& aFs);

Description

Constructs the object with the specified file server session.

Parameters

RFs& aFs

The file server session.

[Top]


Member functions


NextL()

void NextL(CFileList*& aFileList);

Description

Gets a list of entries for the open files in a file server session.

Parameters

CfileList*& aFileList

On return, contains a list of entries for all open files in a file server session.


ThreadId()

TThreadId ThreadId() const;

Description

Returns the ID of the thread which opened the files retrieved by NextL().

Return value

TThreadId

ID of the thread which opened the files in the file list