Discuss this help topic in CBFS Forum

CallbackFileSystem.CreateOpenedFilesSnapshot method

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

CallbackFileSystem     See also    

Overview

Creates a snapshot - a list of opened files and handles.

Declaration

[Pascal]
    function GetOpenedFilesSnapshot() : TCbFsOpenedFilesSnapshot;

[C++ (Lib)]
    CbFsOpenedFilesSnapshot* GetOpenedFilesSnapshot();

[C++ (VCL)]
    TCbFsOpenedFilesSnapshot* __fastcall GetOpenedFilesSnapshot();

[C++ (.NET)]
    CbFsOpenedFilesSnapshot^ GetOpenedFilesSnapshot();

[C#]
    CbFsOpenedFilesSnapshot GetOpenedFilesSnapshot();

[VB.NET]
    Function GetOpenedFilesSnapshot() As CbFsOpenedFilesSnapshot

[Java]
    CbFsOpenedFilesSnapshot getOpenedFilesSnapshot();

Return values

[Java] The object via which methods that return information about opened files can be called.

Description

Use this method to start enumeration of opened files and handles. Use properties and methods of the returned class instance to enumerate opened files.
[.NET] [Java] Call Close() method of the obtained snapshot object to close the snapshot and release the handle.

Call from...

This method may be called only from outside of callback / event handlers.

Extended error logging

If an error happens, this method throws an exception and puts additional information to Windows system log as described here.

Discuss this help topic in CBFS Forum