CallbackDisk

Create and manage virtual disk drives from your Windows applications

OnGetFileSize event/delegate/callback

Filter:

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

CBDisk     See also    

Overview

This event is fired when CBDisk wants to know current size of the storage.

Declaration

[Pascal]
    TCBDiskGetFileSizeEvent = procedure( Sender : TObject; var Size : Int64) of object;

[C++ (Lib)]
    typedef Error (*CBDiskGetFileSizeEvent)( CBDisk* Sender, LongLongWord *Size);

[C++ (VCL)]
    typedef void (__closure *TCBDiskGetFileSizeEvent)( System::TObject* Sender, __int64 &Size);

[C++ (.NET)]
    public __delegate void CBDiskGetFileSizeEvent( CBDisk^ Sender, LongLongInt __gc &Size);

[C#]
    public void CBDiskGetFileSizeEvent( CBDisk.CBDisk Sender, ref long Size);

[VB.NET]
    Sub CBDiskGetFileSizeEvent( ByVal Sender As CBDisk.CBDisk, ByVal FileHandle As UInt32, ByRef Size As UInt64)

Parameters

  • Sender - reference to the class that called the delegate/event handler.
  • Size - out parameter where the application must place the size of the file.

Description

This event is fired when CBDisk wants to know current size of the storage.

See also

Information about callbacks    

Back to top