Description | |||||||||||
Type for callback used by Creo Parametric to close a connection to the database.To register this user-specified function for use by Creo Parametric, specify the function as an input argument to ProMfgdbRegister(). | |||||||||||
Synopsis | |||||||||||
#include <ProMfgdb.h> | |||||||||||
ProError | (*ProMfgdbLogoffAction) | ( | |||||||||
ProName dbname | |||||||||||
/* (In) | |||||||||||
A name used to identify the database. | |||||||||||
*/ | |||||||||||
int timeout | |||||||||||
/* (In) | |||||||||||
The timeout period in seconds. If the database does not respond during this period, the function returns with status PRO_TK_TIMED_OUT. Value -1 means no timeout. | |||||||||||
*/ | |||||||||||
ProAppData appdata | |||||||||||
/* (In) | |||||||||||
Pointer to data specific to the Creo Parametric TOOLKIT application which was passed in the call to ProMfgdbRegister(). Database programs can cache connection information into the appdata for subsequent connection requests. | |||||||||||
*/ | |||||||||||
ProLine error | |||||||||||
/* (Out) | |||||||||||
Text of an error message that Creo Parametric displays to the user if the function returns an error status. To support more than one language, provide a message file containing the translations, and use ProMessageToBuffer() to translate the string. | |||||||||||
*/ | |||||||||||
) | |||||||||||
Returns | |||||||||||
|