* 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 <rolandschwingel at users dot sf dot net>
This commit is contained in:
Dimitri Papadopoulos 2006-03-09 13:23:24 +00:00
parent e9c8cb3193
commit 82f0f1394c
2 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2006-03-09 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* 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 <rolandschwingel at users dot sf dot net>
2006-03-09 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/winspool.h (JOB_CONTROL_*,JOB_STATUS_*): Define.
Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>

View File

@ -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