class TOpenFileScan |
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.
Public Member Functions | |
---|---|
TOpenFileScan ( RFs &) | |
IMPORT_C void | NextL ( CFileList *&) |
IMPORT_C TThreadId | ThreadId () |
Private Attributes | |
---|---|
TInt | iEntryListPos |
RFs * | iFs |
TInt | iScanPos |
TThreadId | iThreadId |
IMPORT_C | TOpenFileScan | ( | RFs & | aFs | ) |
Constructs the object with the specified file server session.
RFs & aFs | The file server session. |
IMPORT_C void | NextL | ( | CFileList *& | aFileList | ) |
Gets a list of entries for the open files in the file server session.
CFileList *& aFileList | On return, contains a list of entries for all open files in the file server session. |
IMPORT_C TThreadId | ThreadId | ( | ) | const |
Gets the ID of the thread that opened the files retrieved by NextL() .
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.