The "Ctrl_Destroy()" function is called when sliceOmatic is about to terminate.
Syntax
extern "C" __declspec(dllexport) int Ctrl_Destroy(
void
)
Parameters
This function does not have a parameter.
Return value
The function returns "0" if an error occurred, "1" otherwise.
Remarks
Requirements
Header:
sliceO_include.hpp
Library:
sliceO_Structures.lib
Example
|
...
// ----------------------------------------------------------------------------
//
// Function: Ctrl_Destroy
//
// Parameters: (void)
// Returns: (int) 0 if error
//
// This is called when sliceO is closing. This is a good occasion to
// release any allocated resources and close all interface tools.
//
// ----------------------------------------------------------------------------
extern "C" __declspec(dllexport) int Ctrl_Destroy( void )
{
return( 1 ) ;
}
...
|
|
See also
Ctrl_Create