#include "precompiled_extensions.hxx"
#include <string.h>
#include <math.h>
#include <vos/module.hxx>
#include <tools/stream.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/sysdata.hxx>
#include "twain.hxx"
Include dependency graph for twain.cxx:
Go to the source code of this file.
Defines | |
#define | PFUNC (*pDSM) |
#define | FIXTODOUBLE(nFix) ((double)nFix.Whole+(double)nFix.Frac/65536.) |
#define | FIXTOLONG(nFix) ((long)floor(FIXTODOUBLE(nFix)+0.5)) |
#define | PTWAINMSG MSG* |
Functions | |
LRESULT CALLBACK | TwainWndProc (HWND hWnd, UINT nMsg, WPARAM nPar1, LPARAM nPar2) |
LRESULT CALLBACK | TwainMsgProc (int nCode, WPARAM wParam, LPARAM lParam) |
IMPL_LINK (ImpTwain, ImplFallbackHdl, void *, pData) | |
IMPL_LINK (ImpTwain, ImplDestroyHdl, void *, p) | |
Variables | |
static ImpTwain * | pImpTwainInstance = NULL |
#define FIXTODOUBLE | ( | nFix | ) | ((double)nFix.Whole+(double)nFix.Frac/65536.) |
#define FIXTOLONG | ( | nFix | ) | ((long)floor(FIXTODOUBLE(nFix)+0.5)) |
IMPL_LINK | ( | ImpTwain | , | |
ImplDestroyHdl | , | |||
void * | , | |||
p | ||||
) |
IMPL_LINK | ( | ImpTwain | , | |
ImplFallbackHdl | , | |||
void * | , | |||
pData | ||||
) |
LRESULT CALLBACK TwainMsgProc | ( | int | nCode, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) |
Definition at line 107 of file twain.cxx.
References ImpTwain::hTwainHook, ImpTwain::hTwainWnd, ImpTwain::ImplHandleMsg(), and pImpTwainInstance.
LRESULT CALLBACK TwainWndProc | ( | HWND | hWnd, | |
UINT | nMsg, | |||
WPARAM | nPar1, | |||
LPARAM | nPar2 | |||
) |
ImpTwain* pImpTwainInstance = NULL [static] |