For BIND and STSN routines supplied by the application, the names of DLLs and the entry points for procedures are passed in the SLI_OPEN verb's VCB. During SLI_OPEN, the BIND and STSN routines are called if the appropriate SNA request is received. When a BIND routine is not supplied by the application, the SLI performs a minimal check of the BIND commands and responds as necessary. If no STSN routine is supplied and an STSN request arrives, a positive response is issued by the SLI. If a CRV request arrives, a negative response is issued by the SLI.
Names for BIND and STSN routines are provided as extensions of the SLI_OPEN verb's VCB. The lua_extension_list_offset parameter provides the offset from the start of the VCB to the first name in the extension list.
The function prototype for a user-defined BIND or STSN routine on Windows NT or Windows 95 is as follows:
VOID WINAPI UserFunction(
LUA_VERB_RECORD *lpVcb
);
The function prototype for a user-defined BIND, STSN, or END routine on Windows 3.x is as follows:
VOID FAR PASCAL UserFunction(
LUA_VERB_RECORD FAR *lpVcb
);
In both prototypes, the lpVcb parameter is a pointer to a LUA VCB.