Documentação da API > Miscellaneous > Object ProEngineer > Function ProEngineerDisconnect
Function ProEngineerDisconnect
Description
Disconnects the Creo Parametric TOOLKIT program from a Creo Parametric process to which it had previously connected using ProEngineerConnect().
Synopsis
#include <ProCore.h>
ProEngineerDisconnect
(
/* (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
The disconnect request succeeded.
The argument p_handle is NULL, or points to an invalid process handle.
Other
An error occurred and the disconnect request failed.
See Also
Sample Code References
User Guide References
Isto foi útil?