This hook chain is called every time a program-list call or initialization file call is invoked by an application. It is called before the call is run.
#define INCL_FnDrEnPt #include <os2.h> HAB hab; PRFHOOKPARMS pProfileHookParams; BOOL rc; rc = ProgramListExitHook(hab, pProfileHookParams);