Community articleIFXDeregisterInterface function
Added by IBM contributorIBM on August 16, 2011
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.



Description

De-registers a FunctionCall from the IFX Manager.

Function

r_short IFXDeregisterInterface(
   IFX *theIFXManger,
   GenericInterface *theInterface);


Parameters

Table 1. deregister interface parameters
ExpressionTypeDescription
theIFXManagerIFX*The IFX Manager.
theInterface GenericInterface*The FunctionCall structure you are de-registering with the IFX Manager. See Notes for more information.


Returns

OK on success or an error code on failure.

Example

The following example registers a FunctionCall with the IFX Manager by calling IFXRegisterInterface. The interface is the immediately de-registered with a call to IFXDeregisterInterface.
if ((theError = IFXRegisterInterface(theIFXManager,
      (GenericInterface*)theFunctionCall, IFX_INTERFACE_NAME, 
      IFX_CURRENT_VERSION, IFX_MIN_VERSION_SUPPORTED, 0X01000300L, 0, NULL,
      0, FCMGetDefaultListener() ))!= OK)
{
      return theError;
}
if ((theError = IFXDeregisterInterface(theIFXManager,
      (GenericInterface*)theFunctionCall) ) != OK)
{
      return theError;
}