OnCloseHardLinksEnumeration event/delegate/callback


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

CBFSConnect     See also    


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


    property OnCloseHardLinksEnumeration : TCBCloseHardLinksEnumerationEvent;
    TCBCloseHardLinksEnumerationEvent = procedure( Sender : TObject; FileInfo: TCBFileInfo; EnumerationInfo: TCBHardLinksEnumerationInfo ) of object;

[C++ (Lib)]
    void (__stdcall *CBCloseHardLinksEnumerationEvent)(void* Sender, CBFileInfo* FileInfo, CBHardLinksEnumerationInfo* EnumerationInfo );

[C++ (VCL)]
    typedef void (__closure *TCBCloseHardLinksEnumerationEvent)( System::TObject* Sender, CBFileInfo* FileInfo, TCBHardLinksEnumerationInfo* EnumerationInfo );

[C++ (.NET)]
    public __delegate void CBCloseHardLinksEnumerationEvent( CBFSConnect^ Sender, CBFileInfo^ FileInfo, CBHardLinksEnumerationInfo^ EnumerationInfo );

    public void CBCloseHardLinksEnumerationEvent( CBFSConnect Sender, CBFileInfo FileInfo, CBHardLinksEnumerationInfo EnumerationInfo );

    Sub CBCloseHardLinksEnumerationEvent( ByVal Sender As CBFSConnect, ByVal FileInfo As TCBFileInfo, ByVal EnumerationInfo As CBHardLinksEnumerationInfo )

    void ICbFsEnumerateEvents.onCloseHardLinksEnumeration( CBFSConnect sender, CBFileInfo fileInfo, CBHardLinksEnumerationInfo enumerationInfo );


  • 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


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 CBFS Connect.

See also