gdevpm.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* Copyright (C) 1992, 1993 Aladdin Enterprises. All rights reserved.
  2. This software is provided AS-IS with no warranty, either express or
  3. implied.
  4. This software is distributed under license and may not be copied,
  5. modified or distributed except as expressly authorized under the terms
  6. of the license contained in the file LICENSE in this distribution.
  7. For more information about licensing, please refer to
  8. http://www.ghostscript.com/licensing/. For information on
  9. commercial licensing, go to http://www.artifex.com/licensing/ or
  10. contact Artifex Software, Inc., 101 Lucas Valley Road #110,
  11. San Rafael, CA 94903, U.S.A., +1(415)492-9861.
  12. */
  13. /* $Id: gdevpm.h,v 1.4 2002/02/21 22:24:51 giles Exp $ */
  14. /* Defines common to gdevpm.c, gspmdrv.c and PM GSview */
  15. #ifndef gdevpm_INCLUDED
  16. # define gdevpm_INCLUDED
  17. #define SHARED_NAME "\\SHAREMEM\\%s"
  18. #define SYNC_NAME "\\SEM32\\SYNC_%s"
  19. #define NEXT_NAME "\\SEM32\\NEXT_%s"
  20. #define MUTEX_NAME "\\SEM32\\MUTEX_%s"
  21. #define QUEUE_NAME "\\QUEUES\\%s"
  22. #define GS_UPDATING 1
  23. #define GS_SYNC 2
  24. #define GS_PAGE 3
  25. #define GS_CLOSE 4
  26. #define GS_ERROR 5
  27. #define GS_PALCHANGE 6
  28. #define GS_BEGIN 7
  29. #define GS_END 8
  30. #endif /* gdevpm_INCLUDED */