1 /* Copyright (C) 2001-2019 Artifex Software, Inc. 2 All Rights Reserved. 3 4 This software is provided AS-IS with no warranty, either express or 5 implied. 6 7 This software is distributed under license and may not be copied, 8 modified or distributed except as expressly authorized under the terms 9 of the license contained in the file LICENSE in this distribution. 10 11 Refer to licensing information at http://www.artifex.com or contact 12 Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, 13 CA 94945, U.S.A., +1(415)492-9861, for further information. 14 */ 15 16 17 /* (used by both C code and Windows 'resource') */ 18 19 #ifndef gp_mswin_INCLUDED 20 # define gp_mswin_INCLUDED 21 22 #include "windows_.h" 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 */ 62