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

f_nOwnerID 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).

f_nPlugInID 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_*.

f_nCommandID

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

f_pData

[void*] Pointer to data required for the f_nCommandID 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 f_nCommandID or f_pData, or the inability to locate the plug-in identified by f_nOwnerID and f_nPlugInID).

 

Comment

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

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH