Adapter Function

Top  Previous  Next

An adapter function adapts a function exported by another dll. It normally bears the same name as the adapted function. It takes care of parameter and return value conversion and buffer memory management for all parameters. It appears to make the adapted function directly callable from Xbase++. Adapter functions acting on objects are also available as fake object adapter methods of the manipulated fake objects. Adapter functions are created by the Cockpit synthesizer through the Xbase++ preprocessor from dll function descriptions lists.