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

www.CAD6.com

The user wants to copy this very pinboard item to the collection.

 

Note: Start by reading all data from the open item using standard profile reading commands. When done reading successfully, call MKI_CollectionWriteItemOpen to handle the user input and to open a collection item for writing. When done writing, call MKI_CollectionWriteClose. Do not call MKI_CollectionReadClose to close the original 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 Name, OwnerID and Type identify the pinboard item. The specific item is already open for reading (as if opened by MKI_CollectionReadPinboardOpen), so you can use standard profile reading commands to read it. All header members must remain unchanged!

 

Return Value

MKI_NOTIFY_RESULT_DONE

The item type identified by OwnerID and Type is known, the item was copied successfully.

MKI_NOTIFY_RESULT_IGNORE

The item type identified by OwnerID and Type is known, but the item could not be copied or the user canceled.

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