The event is fired when CBFS Connect needs to get the volume ID.
property OnGetVolumeID : TCBGetVolumeIdEvent;
TCBGetVolumeIdEvent = procedure(
Sender : TObject;
var VolumeID: LongWord
) of object;
void (__stdcall *CBGetVolumeIdEvent)(void* Sender,
unsigned long * VolumeID
typedef void (__closure *TCBGetVolumeIdEvent)(
unsigned long &VolumeID
public __delegate void CBGetVolumeIdEvent(
public void CBGetVolumeIdEvent(
ref UInt32 VolumeID
ByVal Sender As CBFSConnect,
ByRef VolumeID As UInt32
- Sender - reference to the class that called the delegate/event handler
- VolumeID - the event handler must place the volume ID to this parameter
This event is fired when CBFS Connect wants to obtain the volume Id. The volume Id is unique user defined value (within CBFS Connect volumes).
See Error handling topic for detailed information about how to report errors, which occur in the event handlers, back to CBFS Connect.
Throwing ECBFSConnectError exception from this event handler will not cause the OS to abort the operation or display an error message to the user.