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

  1. /*==============================================================*\
  2.  *                                                              *
  3.  *  Clnpxtrn.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(VOID);
  20. MRESULT EXPENTRY MainWndProc(HWND, ULONG, MPARAM, MPARAM);
  21. ULONG            MessageBox(HWND, ULONG, LONG, ULONG, PSZ, BOOL);
  22. VOID             MainCommand(MPARAM mp1, MPARAM mp2);
  23. BOOL             Init(VOID);
  24. VOID             FileExit(VOID);
  25. MRESULT EXPENTRY ChildWndProc (HWND, ULONG, MPARAM, MPARAM);
  26. VOID             DrawPiece(HPS, USHORT, RECTL);
  27. VOID             PostPipeMsg(USHORT, USHORT);
  28. VOID             InitBoard(VOID);
  29.  
  30. /* from thrd.c */
  31. BOOL  InitThread(VOID);
  32. MRESULT EXPENTRY ServerDlgProc(HWND, ULONG, MPARAM, MPARAM);
  33. #ifdef INCL_DOSNMPIPES
  34. VOID _Optlink ManagePipe(PVOID);
  35. HPIPE ConnectGamePipe(HPIPE, PSZ);
  36. BOOL  WritePipe(HPIPE, USHORT *);
  37. BOOL  ReadPipe(HPIPE, USHORT *);
  38. #endif
  39.  
  40. /* from help.c */
  41. VOID  InitHelp(VOID);
  42. VOID  DestroyHelpInstance(VOID);
  43. VOID  DisplayHelpPanel(SHORT sIdPanel);
  44. VOID  HelpAbout(MPARAM mp2);
  45. VOID  HelpTutorial(MPARAM mp2);
  46. VOID  HelpIndex(MPARAM mp2);
  47. VOID  HelpKeys (MPARAM mp2);
  48. VOID  HelpExtended(MPARAM mp2);
  49. VOID  HelpHelpForHelp(MPARAM mp2);
  50.