From f24f164f25b66df32d7e584ba9993c1519386aac Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Tue, 20 Jan 2015 11:37:59 -0800 Subject: 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. --- platform/windows/gsprint/dllmain.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 platform/windows/gsprint/dllmain.cpp (limited to 'platform/windows/gsprint/dllmain.cpp') diff --git a/platform/windows/gsprint/dllmain.cpp b/platform/windows/gsprint/dllmain.cpp new file mode 100644 index 00000000..bfaa6519 --- /dev/null +++ b/platform/windows/gsprint/dllmain.cpp @@ -0,0 +1,19 @@ +// dllmain.cpp : Defines the entry point for the DLL application. +#include + +BOOL APIENTRY DllMain( HMODULE hModule, + DWORD ul_reason_for_call, + LPVOID lpReserved + ) +{ + switch (ul_reason_for_call) + { + case DLL_PROCESS_ATTACH: + case DLL_THREAD_ATTACH: + case DLL_THREAD_DETACH: + case DLL_PROCESS_DETACH: + break; + } + return TRUE; +} + -- cgit v1.2.3