MKI_EnumExtProc (Callback) New in Version 6.31

www.CAD6.com

C++ Syntax

bool

MKI_EnumExtProc(

 MKI_ENTITY_EXT_PTR f_pExt,

 void* f_pEnumData,

 void* f_pUserData );

 

typedef bool

(*MKI_ENUMEXT_PROC)(

 MKI_ENTITY_EXT_PTR f_pExt,

 void* f_pEnumData,

 void* f_pUserData );

 

This callback procedure is called once for each enumeration step after starting an enumeration by means of the MKI_EnumerateExt procedure.

 

Parameters

Ext

[MKI_ENTITY_EXT_PTR] Address of the extended object that is currently being eunmerated. Even though this value is not declared as const, the object should not be altered directly!

EnumData

[void*] Address of the enumeration data. The format of this data depends on the plug-in actually enumerating the extended object. Please contact that plug-in's manufacturer for detailed information.

UserData

[void*] User data pointer as passed to enumeration function.

 

Return Value

Should return true to continue the enumeration or false to stop it.

 

Comment

The name MKI_EnumExtProc is only a placeholder, the procedure may have any name.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH