| Description |
| Creates new spool. |
| Synopsis |
| #include <ProCabling.h> |
| ProError | ProSpoolCreate | ( |
| ProAssembly assy | |
| /*
(In) |
| The handle of spools assembly owner. |
| */ |
| ProName w_name | |
| /*
(In) |
| The spool name. |
| */ |
| ProCableType cable_type | |
| /*
(In) |
| The type of created spool. |
| */ |
| ProBundleType sheath_type | |
| /*
(In) |
| The type of bundle. |
| */ |
| ProSpool* p_spool | |
| /*
(Out) |
| The handle of created spool. |
| */ |
| ) |
| Returns |
|
| PRO_TK_NO_ERROR | | The function successfully creates new spool. |
| PRO_TK_BAD_INPUTS | | One or more of the arguments was invalid. |
| PRO_TK_E_FOUND | | A spool with this name already exists. (Note: in this case p_spool will contain the spool information; this is an exception to the rule that all information in output arguments is unreliable if a function returns anything other than PRO_TK_NO_ERROR.) |
| PRO_TK_GENERAL_ERROR | | Other error. |
|