RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDataBlock.InitData Method

Adds data to the data block.

Pascal
function InitData(Data: Pointer; DataLen: Integer; CheckLen: Boolean): Integer; stdcall;
C++
__fastcall __stdcall int InitData(void * Data, int DataLen, Boolean CheckLen);

Data is the data to be added to the data block. It must include a valid signature or InitData raises an exception. 

DataLen is the number of bytes referenced by Data. 

CheckLen specifies whether InitData should verify that the signature indicates the same amount of data as is indicated by the DataLen parameter. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!