Platform SDK: MAPI

Integrating MAPI Form Server Code with Windows Code

Recall that your form server is a Win32 or Win16 program. As such, there are some tasks related to loading your form server into memory and exiting cleanly. Like all Windows programs, the entry point for your form server is the WinMain function. This function is the appropriate place to perform the following tasks:

When your form server exits, it should perform the following tasks: