Discuss this help topic in CBFS Forum

OnCloseHardLinksEnumeration event/delegate/callback


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

CallbackFileSystem     See also    


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


    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 );

    public void CbFsCloseHardLinksEnumerationEvent( CallbackFileSystem Sender, CbFsFileInfo FileInfo, CbFsHardLinksEnumerationInfo EnumerationInfo );

    Sub CbFsCloseHardLinksEnumerationEvent( ByVal Sender As CallbackFileSystem, ByVal FileInfo As TCbFsFileInfo, ByVal EnumerationInfo As CbFsHardLinksEnumerationInfo )

    void ICbFsEnumerateEvents.onCloseHardLinksEnumeration( CallbackFileSystem sender, CbFsFileInfo fileInfo, CbFsHardLinksEnumerationInfo 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 Callback File System.

See also


Discuss this help topic in CBFS Forum