Create the Exit Routine

Like every DLL, Select must include an exit routine. A default exit routine is provided by the compiler. However, in special cases in which cleanup tasks are required, the WEP routine should be used. Since Select does not require any cleanup tasks, the WEP routine simply returns:

VOID FAR PASCAL WEP(nParameter)

int nParameter;

{

return 1;

}