Function ProExtdataClassRegister
Description
Registers a class for the specified model.
Note: Although class and slot names are individually limited to a length of PRO_NAME_SIZE, they must also have a combined length shorter than PRO_NAME_SIZE. Attempting to use combined names longer than PRO_NAME_SIZE results in an error.
Replacement in Object TOOLKIT:
Synopsis
#include <ProExtdata.h>
ProExtdataClassRegister
(
ProMdl p_model
/* (In)
The model handle
*/
ProName class_name
/* (In)
The name of the class to register
*/
ProExtdataClass* r_p_extclass
/* (Out)
The handle to the newly registered class
*/
)
Returns
The function successfully registered the class.
The function failed.
The specified model or class name is invalid.
The specified class name already exists.
The specified class name exceeds the length PRO_NAME_SIZE.
Sample Code References
User Guide References
War dies hilfreich?