The RegisterSwitchProc function registers an application procedure that will be called whenever the 3270 emulator is about to be switched in or out of memory by the MS-DOS version 5 or Windows task-switching code.
USHORT FAR RegisterSwitchProc(
| ULONG switchProc | |
| ); |
VOID FAR PASCAL SwitchProc(
| USHORT inOut | |
| ); |