User Tools

Site Tools


api:dk11:delphi:gistypes.tgis_readwriteevent_tobject_longint_pointer_integer

Table of Contents

TGIS_ReadWriteEvent prototype

DK11 for Delphi | GisTypes.TGIS_ReadWriteEvent | Constants | Enums | Classes | Prototypes | Records

Event handler for file Read/Write events for the purpose of decoding/encoding.

Syntax

// Delphi
type
  TGIS_ReadWriteEvent = procedure (
    _sender : TObject;
    _pos : LongInt;
    _buffer : Pointer;
    _count : Integer
  ) of object;
// C++ Builder
typedef void (_closure *TGIS_ReadWriteEvent)(
  TObject* _sender,
  int _pos,
  void* _buffer,
  int _count
);

Parameters

Name Type Description
_sender TObject event originator
_pos LongInt position of the buffer within the file
_buffer Pointer buffer to be encoded/decoded
_count Integer number of bytes within buffer
2017/09/04 11:17