2 |
- |
1 |
/* Copyright (C) 1992, 1993, 1996 Aladdin Enterprises. All rights reserved.
|
|
|
2 |
|
|
|
3 |
This software is provided AS-IS with no warranty, either express or
|
|
|
4 |
implied.
|
|
|
5 |
|
|
|
6 |
This software is distributed under license and may not be copied,
|
|
|
7 |
modified or distributed except as expressly authorized under the terms
|
|
|
8 |
of the license contained in the file LICENSE in this distribution.
|
|
|
9 |
|
|
|
10 |
For more information about licensing, please refer to
|
|
|
11 |
http://www.ghostscript.com/licensing/. For information on
|
|
|
12 |
commercial licensing, go to http://www.artifex.com/licensing/ or
|
|
|
13 |
contact Artifex Software, Inc., 101 Lucas Valley Road #110,
|
|
|
14 |
San Rafael, CA 94903, U.S.A., +1(415)492-9861.
|
|
|
15 |
*/
|
|
|
16 |
|
|
|
17 |
/* $Id: gp_mswin.h,v 1.7 2005/03/04 21:58:55 ghostgum Exp $ */
|
|
|
18 |
/* (used by both C code and Windows 'resource') */
|
|
|
19 |
|
|
|
20 |
#ifndef gp_mswin_INCLUDED
|
|
|
21 |
# define gp_mswin_INCLUDED
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
#define GSTEXT_ICON 50
|
|
|
25 |
#define GSIMAGE_ICON 51
|
|
|
26 |
#define SPOOL_PORT 100
|
|
|
27 |
#define CANCEL_PCDONE 101
|
|
|
28 |
#define CANCEL_PRINTING 102
|
|
|
29 |
|
|
|
30 |
#ifndef RC_INVOKED /* NOTA BENE */
|
|
|
31 |
|
|
|
32 |
/* system menu constants for image window */
|
|
|
33 |
#define M_COPY_CLIP 1
|
|
|
34 |
|
|
|
35 |
/* externals from gp_mswin.c */
|
|
|
36 |
|
|
|
37 |
/* Patch 26.10.94 :for Microsoft C/C++ 8.0 32-Bit */
|
|
|
38 |
/* "_export" is Microsoft 16-Bit specific. */
|
|
|
39 |
/* With MS-C/C++ 8.00 32 Bit "_export" causes an error. */
|
|
|
40 |
#if defined(_WIN32) && defined(_MSC_VER)
|
|
|
41 |
#define _export
|
|
|
42 |
#endif
|
|
|
43 |
|
|
|
44 |
/*
|
|
|
45 |
extern HWND hwndtext;
|
|
|
46 |
extern HWND hDlgModeless;
|
|
|
47 |
*/
|
|
|
48 |
extern HINSTANCE phInstance;
|
|
|
49 |
extern const LPSTR szAppName;
|
|
|
50 |
extern BOOL is_win32s;
|
|
|
51 |
extern int is_spool(const char *queue);
|
|
|
52 |
|
|
|
53 |
#ifdef _WIN64
|
|
|
54 |
#define DLGRETURN INT_PTR
|
|
|
55 |
#else
|
|
|
56 |
#define DLGRETURN BOOL
|
|
|
57 |
#endif
|
|
|
58 |
|
|
|
59 |
#endif /* !defined(RC_INVOKED) */
|
|
|
60 |
|
|
|
61 |
#endif /* gp_mswin_INCLUDED */
|