| Description |
| Registers an external database with Creo Parametric. This function sets the functions to be called to gain access to a database, to close a database, and the function that executes database queries. It also specifies any optional user data passed to the registered callbacks. |
| Synopsis |
| #include <ProMfgdb.h> |
| ProError | ProMfgdbRegister | ( |
| ProMfgdbData mfgdb_data | |
| /*
(In) |
| information about the database. |
| */ |
| ProMfgdbLoginAction login_callback | |
| /*
(In) |
| Pointer to the callback function that will be executed to get access to the database. |
| */ |
| ProMfgdbLogoffAction logoff_callback | |
| /*
(In) |
| Pointer to the callback function that will be executed to close a connection to the database. |
| */ |
| ProMfgdbSearchAction search_callback | |
| /*
(In) |
| Pointer to the callback function that will execute the database queries. |
| */ |
| ProAppData appdata | |
| /*
(In) |
| Pointer to data specific to the Creo Parametric TOOLKIT application that will be passed as an input the query callback. |
| */ |
| ProMfgdbObjCategory target | |
| /*
(In) |
| category of object searched in database. |
| */ |
| ) |
| Returns |
|
|