MKI_NOTIFY_ITEM_GET_CONTENT (Plug-In Notification Command) New in Version 2020.0

www.CAD6.com

The plug-in shall return a textual description of the specific collection or pinboard item's content.

 

Note: Do not call MKI_CollectionReadClose to close the item, the serving application will close it automatically once control is returned.

 

Parameters

Ext

Unused, will usually be nullptr.

Data

Address of a MKI_ITEM_HEADER structure. The members OwnerID and Type identify the item type. The specific item is already open for reading (as if opened by MKI_CollectionReadItemOpen), so you can use standard profile reading commands to read it. Write the content description into the Comment member. All other header members must remain unchanged!

 

Return Value

MKI_NOTIFY_RESULT_DONE

The item type identified by OwnerID and Type is known, given task successfully finished.

MKI_NOTIFY_RESULT_IGNORE

The item type identified by OwnerID and Type is known, but no content description was written to Comment.

MKI_NOTIFY_RESULT_UNKNOWN

The item type identified by OwnerID and Type is not known or task not supported, ask the other plug-ins.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH