home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / os2 / npipe / svrpxtrn.h < prev   
Text File  |  1999-05-11  |  3KB  |  65 lines

  1. /*==============================================================*\
  2.  *                                                              *
  3.  *  Svrpxtrn.h - External declarations                          *
  4.  *      Copyright 1991, IBM Corp.                               *
  5.  *                                                              *
  6.  *--------------------------------------------------------------*
  7.  *                                                              *
  8.  *  This header file contains the application wide function     *
  9.  *  declarations.                                               *
  10.  *                                                              *
  11. \*==============================================================*/
  12.  
  13.  
  14. /*--------------------------------------------------------------*\
  15.  *  Entry point declarations                                    *
  16. \*--------------------------------------------------------------*/
  17.  
  18. /* from main.c */
  19. INT              main(int, char *[]);
  20. MRESULT EXPENTRY MainWndProc(HWND, ULONG, MPARAM, MPARAM);
  21. ULONG            MessageBox(HWND, ULONG, ULONG, BOOL);
  22. VOID             MainCommand(MPARAM mp1, MPARAM mp2);
  23. BOOL             Init(int, char *[]);
  24. VOID             FileExit(VOID);
  25.  
  26. /* from pnt.c */
  27. VOID    MainPaint(HWND, CHAR [MAX_MESSAGES][MESSAGE_LEN], unsigned int, SHORT);
  28. MRESULT InitMainWindow(HWND, MPARAM, MPARAM);
  29. MRESULT MainSize(HWND, SHORT, MPARAM, MPARAM);
  30. MRESULT MainHorizScroll(HWND, MPARAM);
  31. MRESULT MainVertScroll(HWND, MPARAM);
  32. MRESULT MainCharHScroll(HWND, ULONG, MPARAM, MPARAM);
  33. MRESULT MainCharVScroll(HWND, ULONG, MPARAM, MPARAM);
  34. VOID    MainUpdateMsg(HWND, CHAR [MAX_MESSAGES][MESSAGE_LEN], unsigned int, SHORT);
  35. VOID    MainPurgeWindow(VOID);
  36.  
  37. /* from game.c */
  38. #ifdef INCL_DOSNMPIPES
  39. VOID _Optlink GameThread(PVOID);
  40. #ifdef DIVISIONS
  41. USHORT WinTest(USHORT [DIVISIONS][DIVISIONS]);
  42. USHORT GetMove(USHORT [DIVISIONS][DIVISIONS], USHORT);
  43. VOID   InitBoard(USHORT [DIVISIONS][DIVISIONS]);
  44. #endif
  45. #endif
  46.  
  47. /* from thrd.c */
  48. #ifdef INCL_DOSNMPIPES
  49. HPIPE  InitThreads(VOID);
  50. APIRET Pipe_IO(BOOL, HPIPE, USHORT *, USHORT *, ULONG);
  51. VOID _Optlink DisplayPipeMsg(PVOID);
  52. VOID _Optlink ConnectPlayer(PVOID);
  53. #endif
  54.  
  55. /* from help.c */
  56. VOID  InitHelp(VOID);
  57. VOID  DestroyHelpInstance(VOID);
  58. VOID  DisplayHelpPanel(SHORT sIdPanel);
  59. VOID  HelpAbout(MPARAM mp2);
  60. VOID  HelpTutorial(MPARAM mp2);
  61. VOID  HelpIndex(MPARAM mp2);
  62. VOID  HelpKeys (MPARAM mp2);
  63. VOID  HelpExtended(MPARAM mp2);
  64. VOID  HelpHelpForHelp(MPARAM mp2);
  65.