TutTimeCvtDestroy destroy a time converter
time_cvtr
time converter to destroy
TRUE
if the converter was successfully destroyed, FALSE
if the converter is currently in use, such as the option Time_Format points to the converter.
None
TutTimeCvtDestroy destroys a time converter. If the time converter has a destroy function, the function is called.
None
TutTimeCvtCreate, TutTimeCvtLookup
This example tries to destroy the time converter hms
:
void destroy_hms()
{
T_TIME_CVT hms = TutTimeCvtLookup("hms");
if (hms != NULL) {
if (!TutTimeCvtDestroy(hms)) {
TutOut("time converter hms is in use.\n");
}
}
} /* destroy_hms */
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |