Discuss this help topic in SecureBlackbox Forum

TElZipReader.OnUserActionNeeded

TElZipReader     See also     


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


This event is fired when user action is needed.

Declaration

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

[VB.NET]
    Event OnUserActionNeeded As TSBZipUserActionNeededEvent
    Delegate Sub TSBZipUserActionNeededEvent(ByVal Sender As Object, ByVal ForEvent As Integer, ByVal Description As String, ByVal Param As 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)

[Java]
    TSBZipUserActionNeededEvent getOnUserActionNeeded();
    void setOnUserActionNeeded(TSBZipUserActionNeededEvent Value);
    TSBZipUserActionNeededEvent.Callback OnUserActionNeeded = new TSBZipUserActionNeededEvent.Callback() {
        public void TSBZipUserActionNeededEventCallback(TObject Sender, int ForEvent, String Description, TObject Param, TSBInteger 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