home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cons-010.zip / Console / src / common / CWRP.h < prev    next >
Text File  |  1997-07-30  |  2KB  |  48 lines

  1. /******************************************************************************\
  2. |*                                                                            *|
  3. |* Console Window Request Processor: header file                              *|
  4. |* Copyright (C) 1997 by FRIENDS software                                     *|
  5. |* All Rights Reserved                                                        *|
  6. |* Portability: OS/2                                                          *|
  7. |*                                                                            *|
  8. |* This program is free software; you can redistribute it and/or modify       *|
  9. |* it under the terms of the GNU General Public License as published by       *|
  10. |* the Free Software Foundation; either version 2 of the License, or          *|
  11. |* (at your option) any later version.                                        *|
  12. |*                                                                            *|
  13. |* This program is distributed in the hope that it will be useful,            *|
  14. |* but WITHOUT ANY WARRANTY; without even the implied warranty of             *|
  15. |* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *|
  16. |* GNU General Public License for more details.                               *|
  17. |*                                                                            *|
  18. |* You should have received a copy of the GNU General Public License          *|
  19. |* along with this program; if not, write to the Free Software                *|
  20. |* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA  *|
  21. |*                                                                            *|
  22. \******************************************************************************/
  23.  
  24. typedef struct
  25. {
  26.  HWND manager;                /* CWRP window handle */
  27.  HMTX inuse;                /* In-Use mutex semaphore */
  28.  HEV ready;                /* Request Ready event semaphore */
  29.  SWP swp;                /* cwrqSetPos arg */
  30.  ULONG fNo;                /* cwrqSetFont arg */
  31.  BOOL Show;                /* cwrqShow arg */
  32.  int ret;                /* CWRP return value */
  33. } tConsoleManagerSharedMem;
  34.  
  35. #define arg0_magic "run cwrp daemon"
  36.  
  37. #define cwrpSharedMem "\\SHAREMEM\\CONSOLE\\CWRP"
  38.  
  39. #define WM_CONREQUEST 0xFEED        /* Console request message ID # */
  40.  
  41. #define cwrqLockOutput        1
  42. #define cwrqUnlockOutput    2
  43. #define cwrqSetFont        3
  44. #define cwrqSetPos        4
  45. #define cwrqShow        5
  46. #define cwrqQueryFont        6
  47. #define cwrqQueryBorder        7
  48.