Discuss this help topic in CBFS Forum

OnCloseHardLinksEnumeration event/delegate/callback

Filter:

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

CallbackFileSystem     See also    

Overview

The event is fired when the OS has finished enumerating named streams of the file.

Declaration

[Pascal]
    property OnCloseHardLinksEnumeration : TCbFsCloseHardLinksEnumerationEvent;
    TCbFsCloseHardLinksEnumerationEvent = procedure( Sender : TObject; FileInfo: TCbFsFileInfo; EnumerationInfo: TCbFsHardLinksEnumerationInfo ) of object;

[C++ (Lib)]
    void (__stdcall *CbFsCloseHardLinksEnumerationEvent)(void* Sender, CbFsFileInfo* FileInfo, CbFsHardLinksEnumerationInfo* EnumerationInfo );

[C++ (VCL)]
    typedef void (__closure *TCbFsCloseHardLinksEnumerationEvent)( System::TObject* Sender, CbFsFileInfo* FileInfo, TCbFsHardLinksEnumerationInfo* EnumerationInfo );

[C++ (.NET)]
    public __delegate void CbFsCloseHardLinksEnumerationEvent( CallbackFileSystem^ Sender, CbFsFileInfo^ FileInfo, CbFsHardLinksEnumerationInfo^ EnumerationInfo );

[C#]
    public void CbFsCloseHardLinksEnumerationEvent( CallbackFileSystem Sender, CbFsFileInfo FileInfo, CbFsHardLinksEnumerationInfo EnumerationInfo );

[VB.NET]
    Sub CbFsCloseHardLinksEnumerationEvent( ByVal Sender As CallbackFileSystem, ByVal FileInfo As TCbFsFileInfo, ByVal EnumerationInfo As CbFsHardLinksEnumerationInfo )

[Java]
    void ICbFsEnumerateEvents.onCloseHardLinksEnumeration( CallbackFileSystem sender, CbFsFileInfo fileInfo, CbFsHardLinksEnumerationInfo enumerationInfo );

Parameters

  • Sender - reference to the class that called the delegate/event handler.
  • FileInfo - information about the file, whose link enumeration is being closed
  • EnumerationInfo - information about current enumeration

Description

This event is fired when the OS has finished enumerating named streams of the file and requests the resources, allocated for enumeration, to be released.
Read more about contexts.

Error handling

See Error handling topic for detailed information about how to report errors, which occur in the event handlers, back to Callback File System.

See also

OnEnumerateHardLinks    

Discuss this help topic in CBFS Forum