DEFINITION MODULE Shell; FROM OS2DEF IMPORT USHORT, HWND; FROM PMWIN IMPORT MPARAM, MRESULT, SWP; EXPORT QUALIFIED Class, Child, Title, FrameWindow, ClientWindow, ChildFrameWindow, ChildClientWindow, Pos, SetPort, WindowProc, ChildWindowProc; CONST Class = "PCKermit"; Child ="Child"; Title = "PCKermit -- Microcomputer to Mainframe Communications"; VAR FrameWindow : HWND; ClientWindow : HWND; ChildFrameWindow : HWND; ChildClientWindow : HWND; Pos : SWP; (* Screen Dimensions: position & size *) comport : CARDINAL; PROCEDURE SetPort; PROCEDURE WindowProc ['WindowProc'] ( hwnd : HWND; msg : USHORT; mp1 [VALUE] : MPARAM; mp2 [VALUE] : MPARAM) : MRESULT [LONG, WINDOWS]; PROCEDURE ChildWindowProc ['ChildWindowProc'] ( hwnd : HWND; msg : USHORT; mp1 [VALUE] : MPARAM; mp2 [VALUE] : MPARAM) : MRESULT [LONG, WINDOWS]; END Shell.