CallbackRegistry

Control over registry operations in Windows and .NET applications

OnFilterAttachToFsVolume event/delegate/callback

Filter:

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

CallbackRegistry     See also    

Overview

Notifies about new file system volume

Declaration

[Pascal]
    property OnFilterAttachToFsVolume : TCbFltFilterAttachToFsVolumeEvent;
    TCbFltFilterAttachToFsVolumeEvent = procedure(Sender : TObject; VolumeName : TCBString) of object;

[C++ (Lib)]
    typedef void (*CbFltFilterAttachToFsVolumeEvent)(CallbackRegistry* Sender, LPCWSTR VolumeName);

[C++ (VCL)]
    typedef void __fastcall (__closure *TCbFltFilterAttachToFsVolumeEvent)(System::TObject* Sender, TCBString VolumeName);

[C++ (.NET)]
    public delegate void CbFltFilterAttachToFsVolumeEvent(CallbackRegistry^ Sender, String^ VolumeName);

[C#]
    delegate void CbFltFilterAttachToFsVolumeEvent(CallbackRegistry Sender, String VolumeName);

[VB.NET]
    Delegate Sub CbFltFilterAttachToFsVolumeEvent(ByVal Sender As CallbackRegistry, ByVal VolumeName As String)

Parameters

  • Sender - reference to the class that called the delegate/event handler
  • VolumeName - the name of the volume which has been mounted to the system

Description

Use this event to be notified when new file system volume appears in the system. You can set filter rules on the new volume, if needed, in response to this event.

Error handling

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

See also

OnFilterDetachFromFsVolume    

Back to top