MKI_ExtAddBinary (Entity Creation) New in Version 2019.1 |
www.CAD6.com |
C++ Syntaxbool MKI_ExtAddBinary( __int32 f_nType, const void* const f_pData, const size_t f_nSoze );
Adds a binary data block to a previously opened temporary extended object (see MKI_ExtOpen).
ParametersType [__int32] Data block type. Type may have any value between 1000 and 29999 inclusive. Such a data block will not be modified by the serving application in any case and can be used to store plug-in-specific data. Data [const void* const] Address of the data to be copied to the data block. Size [const size_t] Total size of the data in bytes. Valid range is 0 to MKI_DB_SIZE_MAX.
Return ValueReturns true if the data block was added successfully. If false is returned, this indicates that the extended object would be too large after adding this data block.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH