diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2015-01-20 11:37:59 -0800 |
---|---|---|
committer | Michael Vrhel <michael.vrhel@artifex.com> | 2015-01-20 11:37:59 -0800 |
commit | f24f164f25b66df32d7e584ba9993c1519386aac (patch) | |
tree | a68b42373791f14f8126f48228cac93ef442867b /platform/windows/gsprint/gsprint.h | |
parent | 90c560641d9b459a658029eefc4cbb02fdbca0b5 (diff) | |
download | mupdf-f24f164f25b66df32d7e584ba9993c1519386aac.tar.xz |
Rework of gsview printing with addition of new Print control dialog
This adds an additional project (gsprint.vxcproj) which will do the necessary native
calls to bring up the custom print dialog for the output device.
We can then obtain the settings and make the appropriate page
size adjustments in creating our xps content.
Diffstat (limited to 'platform/windows/gsprint/gsprint.h')
-rw-r--r-- | platform/windows/gsprint/gsprint.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/windows/gsprint/gsprint.h b/platform/windows/gsprint/gsprint.h new file mode 100644 index 00000000..cfc2c7b3 --- /dev/null +++ b/platform/windows/gsprint/gsprint.h @@ -0,0 +1,12 @@ +#include <windows.h> +#include <winspool.h> + +#ifdef __cplusplus +#define EXTERNC extern "C" +#else +#define EXTERNC +#endif + +#define SYMBOL_DECLSPEC __declspec(dllexport) + +EXTERN_C SYMBOL_DECLSPEC int __stdcall ShowPropertiesDialog(void *ctx, void *printername, bool show_win); |