MKI_PlugInCallInterface (Plug-Ins) Changed in Version 2022.2

www.CAD6.com

C++ Syntax

bool

MKI_PlugInCallInterface(

 __int16 f_nOwnerID,

 __int16 f_nPlugInID,

 __int32 f_nCommandID,

 void* f_pData )

 

Allows a plug-in to access interfaces of another plug-in.

 

Parameters

OwnerID New in Version 2022.2

[__int16] This value is a unique identification of the creator of the plug-in. The value MKI_DB_OWNER_MK is reserved for use by Malz++Kassner. Valid range: 0 <= Value < 10000.

Third-party vendors that plan to implement a plug-in should contact Malz++Kassner to receive their unique identification (see Getting Your Private Owner ID).

PlugInID New in Version 2022.2

[__int16] This value is a plug-in identification. This value can freely be managed by the plug-in's creator. For Malz++Kassner plug-ins, see MKI_PLUGINID_*.

CommandID

[__int32] Number of the interface command to be passed to the plug-in.

Data

[void*] Pointer to data required for the CommandID interface command.

 

Return Value

Returns true if the interface command was executed (no matter, if successfully or not), else false (indicating an invalid value of CommandID or Data, or the inability to locate the plug-in identified by KeyName).

 

Comment

For a detailed description of a plug-in's interface (if any) as well as specific values of CommandID and data types to be pointed to by Data, please refer to the plug-in's documentation or contact its manufacturer.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH