Discuss this help topic in SecureBlackbox Forum

TElZipReader.OnUserActionNeeded

TElZipReader     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event is fired when user action is needed.

Declaration

[C#/Java]
    event TSBZipUserActionNeededEvent OnUserActionNeeded;
    delegate void TSBZipUserActionNeededEvent(object Sender, int ForEvent, string Description, System.Object Param, ref int UserAction);

[VB.NET]
    Event OnUserActionNeeded As TSBZipUserActionNeededEvent
    Public Delegate Sub TSBZipUserActionNeededEvent(ByVal Sender As Object, ByVal ForEvent As Integer, ByVal Description As String, ByVal Param As System.Object, ByRef UserAction As Integer)

[Pascal]
    property OnUserActionNeeded : TSBZipUserActionNeededEvent;
    TSBZipUserActionNeededEvent = procedure(Sender: TObject; Entry : TElZipArchiveDirectoryEntry; ForEvent : integer; const Description : string; Param : pointer; var UserAction : integer) of object;

[C++]
    void get_OnUserActionNeeded(TSBZipUserActionNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnUserActionNeeded(TSBZipUserActionNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBZipUserActionNeededEvent)(void * _ObjectData, TObjectHandle Sender, int32_t ForEvent, const char * pcDescription, int32_t szDescription, void * Param, int32_t &UserAction);

[PHP]
    TSBZipUserActionNeededEvent|callable|NULL get_OnUserActionNeeded()
    void set_OnUserActionNeeded(TSBZipUserActionNeededEvent|callable|NULL $Value)
    callable TSBZipUserActionNeededEvent(TObject $Sender, integer $ForEvent, string $Description, TSBPointer|NULL $Param, integer &$UserAction)

Parameters

  • ForEvent - event for which the action is needed.
  • Description - event description.
  • Param - reference to the object which contains additional information about the archive entry.
  • UserAction - chosen user action.
  • pcDescription - event description.
  • szDescription - the length of pcDescription.

Possible events:


Possible user actions:


Description

    This event is fired by TElZipReader when it needs user interaction. User may ignore event, abort extraction or force TElZipReader to retry extraction again.

See also:     OnPasswordNeeded    

Discuss this help topic in SecureBlackbox Forum