| Description |
| Disconnects the Creo Parametric TOOLKIT program from a Creo Parametric process to which it had previously connected using ProEngineerConnect(). |
| Synopsis |
| #include <ProCore.h> |
| ProError | ProEngineerDisconnect | ( |
| ProProcessHandle* p_handle | |
| /*
(In) |
| The pointer to a process handle returned by ProEngineerConnect(). The handle itself will be invalidated as a result of the call. |
| */ |
| unsigned int timeout_sec | |
| /*
(In) |
| The time, in seconds, to wait for Creo Parametric to respond to the disconnect request. |
| */ |
| ) |
| Returns |
|
| PRO_TK_NO_ERROR | | The disconnect request succeeded. |
| PRO_TK_BAD_INPUTS | | The argument p_handle is NULL, or points to an invalid process handle. |
| Other | | An error occurred and the disconnect request failed. |
|
| See Also |
| ProEngineerConnect |