From 82f0f1394c1ad85759eaa3749fca0f8331f608ef Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Date: Thu, 9 Mar 2006 13:23:24 +0000 Subject: * include/winspool.h (DI_MEMORYMAP_WRITE): Define (DWORD type). (FORM_USER,FORM_PRINTER): Define (DWORD type). * include/winspool.h [_WIN32_WINNT >= 0x0500] (DSPRINT_*): Define (DWORD type). Thanks to: Roland Schwingel --- winsup/w32api/include/winspool.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'winsup/w32api/include') diff --git a/winsup/w32api/include/winspool.h b/winsup/w32api/include/winspool.h index 5c9aa945f..5acae161d 100644 --- a/winsup/w32api/include/winspool.h +++ b/winsup/w32api/include/winspool.h @@ -10,7 +10,17 @@ extern "C" { #define DI_CHANNEL 1 #define DI_CHANNEL_WRITE 2 #define DI_READ_SPOOL_JOB 3 -#define FORM_BUILTIN 1 +#define DI_MEMORYMAP_WRITE 0x1 +#define FORM_USER 0x0 +#define FORM_BUILTIN 0x1 +#define FORM_PRINTER 0x2 +#if (_WIN32_WINNT >= 0x0500) +#define DSPRINT_PUBLISH 0x00000001 +#define DSPRINT_UPDATE 0x00000002 +#define DSPRINT_UNPUBLISH 0x00000004 +#define DSPRINT_REPUBLISH 0x00000008 +#define DSPRINT_PENDING 0x80000000 +#endif #define JOB_CONTROL_PAUSE 1 #define JOB_CONTROL_RESUME 2 #define JOB_CONTROL_CANCEL 3 -- cgit v1.2.3