Discuss this help topic in CBFS Forum

CallbackFileSystem.CreateOpenedFilesSnapshot method


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

CallbackFileSystem     See also    


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


    function GetOpenedFilesSnapshot() : TCbFsOpenedFilesSnapshot;

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

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

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

    CbFsOpenedFilesSnapshot GetOpenedFilesSnapshot();

    Function GetOpenedFilesSnapshot() As CbFsOpenedFilesSnapshot

    CbFsOpenedFilesSnapshot getOpenedFilesSnapshot();

Return values

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


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