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

  1. /*==============================================================*\
  2.  *                                                              *
  3.  *  cliqxtrn.h - external definitions                           *
  4.  *      Copyright 1991, IBM Corp.                               *
  5.  *                                                              *
  6.  *--------------------------------------------------------------*
  7.  *                                                              *
  8.  *  This header file contains the application wide function     *
  9.  *  declarations and global external variables.                 *
  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, BOOL);
  22. VOID             MainCommand(MPARAM, MPARAM);
  23. BOOL             Init(VOID);
  24. VOID             FileExit(VOID);
  25.  
  26. /* from thrd.c */
  27. #ifdef INCL_DOSQUEUES
  28.  
  29.  struct _THREADPARAM {
  30.     HEV     hevSend;
  31.     PVOID   *ppvdMessage;
  32.     PUSHORT pusPriority;
  33.     PULONG  pulMsgSize;
  34.     PULONG  pulMsgType;
  35.     };
  36.  
  37.  typedef struct _THREADPARAM THREADPARAM;
  38.  
  39.  BOOL fSetUpMessage(THREADPARAM, PVOID *);
  40.  BOOL InitQThrd(HEV, PVOID *, PUSHORT, PULONG, PULONG);
  41.  
  42.  
  43. #endif
  44.  
  45. VOID _Optlink PostQMessage(PVOID);
  46.