API 文件集 > Miscellaneous > Object ProCombstate > Function ProCombstateAnnotationsAdd
Function ProCombstateAnnotationsAdd
Description
Adds annotations to provided combined state item.
Replacement in Object TOOLKIT:
Synopsis
#include <ProCombstate.h>
ProCombstateAnnotationsAdd
(
ProCombstate* cs_item
/* (In)
The handle to a combined state item.
*/
ProAnnotation* annotations
/* (In)
ProArray of annotations.
*/
int* status_flags
/* (In)
ProArray of integers. Each annotation can be included, or excluded in the combined state. 0 value means that annotation is included in the combined state, 1 excluded.
*/
)
Returns
The function successfully added annotations.
One or more of the input arguments are invalid.
size of status_flags' array differs from the size of annotations' array.
This legacy combined state doesn't have annotation state. Annotations cannot be added.
Status of some annotations wasn't changed. Some annotations existed in the combined state already and their status was same as the one in the input.
Other
Another error occurred and the function failed.
這是否有幫助?