Several source code examples are available in the %XSI_HOME%/XSISDK folder:
Additional Reference Information
For complete details about the functions available for creating custom Fx operators, see the UFO Library Functions and the UFO User Functions on the Softimage Wiki.