IEWBNDD, IEWBNDDX, IEWBNDD6 - Binder C/C++ API DLL functions

This topic describes the binder C/C++ API that enables C/C++ programs to interface easily with binder and to get the similar functionality of the binder API described in IEWBIND function reference and fast data access services described in IEWBFDAT - Binder Fast data access API functions. The previously defined APIs depend on buffer structures with assembler mappings described in IEWBUFF - Binder API buffers interface assembler macro for generating and mapping data areas. The APIs can be called from other languages, but the coding may be awkward. The programmer is responsible for providing a certain environment, buffers and parameters lists. The binder C/C++ API is a C code interface that implements the initialization and access functions of the binder API and fast data access services. The interface provides C functions equivalent to the following binder API macro functions and fast data access services (see Table 1) via request code call interface.

Table 1. Binder API macro functions and fast data access
Binder API   Fast data access
ADDA: Add alias   SB- Start with DCB
ALIGNT: Align text   SJ – Start with DDname
ALTERW: Alter workmod   SQ – Start with EPtoken
AUTOC: Perform incremental autocall   SS – Start with system DCB
BINDW: Bind workmod   GC – Get compile unit list
CREATEW: Create workmod   GD – Get data
DELETEW: Delete workmod   GE – Get ESD data
DLLR: Rename DLL modules   GN – Get names
ENDD: End dialog   EN – End a session
GETC: Get compile unit list    
GETD: Get data    
GETE: Get ESD data    
GETN: Get names    
IMPORT: Import a function or external variable    
INCLUDE: Include module    
INSERTS: Insert section    
LOADW: Load workmod    
ORDERS: Order sections    
PUTD: Put data    
RENAME: Rename symbolic references    
RESETW: Reset workmod    
SAVEW: Save workmod    
SETL: Set library    
SETO: Set option    
STARTD: Start dialog    
STARTS: Start segment    
     
     
     
     
     
     
     
     
     
     

The interface also provides some utilities functions to allow users to access return values and enables the creation of binder API buffers for some API calls that require buffers as input.