Discuss this help topic in SecureBlackbox Forum

TElZipWriter.OnGetStubStream

TElZipWriter     See also     


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


This event is fired when sfx-stub stream is needed.

Declaration

[C#]
    event TSBZIPGetStubStreamEvent OnGetStubStream;
    delegate void TSBZIPGetStubStreamEvent(Object Sender, out System.IO.Stream Stream, out bool FreeStub);

[VB.NET]
    Event OnGetStubStream As TSBZIPGetStubStreamEvent
    Delegate Sub TSBZIPGetStubStreamEvent(ByVal Sender As Object, Out Stream As System.IO.Stream, Out FreeStub As Boolean)

[Pascal]
    property OnGetStubStream: TSBZIPGetStubStreamEvent;
    TSBZIPGetStubStreamEvent = procedure (Sender: TObject; out Stream: TElStream; out FreeStub: boolean) of object;

[C++]
    void get_OnGetStubStream(TSBZIPGetStubStreamEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnGetStubStream(TSBZIPGetStubStreamEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBZIPGetStubStreamEvent)(void * _ObjectData, TObjectHandle Sender, TStreamHandle &Stream, int8_t &FreeStub);

[PHP]
    TSBZIPGetStubStreamEvent|callable|NULL get_OnGetStubStream()
    void set_OnGetStubStream(TSBZIPGetStubStreamEvent|callable|NULL $Value)
    callable TSBZIPGetStubStreamEvent(TObject $Sender, TStream &$Stream, bool &$FreeStub)

[Java]
    not available

Parameters

  • Stream - newly created stream where the writer will save the SFX stub.
  • FreeStub - If True, the provided stream will be destroyed by TElZipWriter automatically. Otherwise, the stream should be destroyed by the application.

Description

    This event is fired by TElZipWriter when a stream is needed for SFX-stub. A newly created stream should be provided via Stream parameter.

See also:     SFXEnabled    

Discuss this help topic in SecureBlackbox Forum