/Users/ericb/Desktop/NATIVEPRINTDLG01/extensions/source/scanner/twain.cxx File Reference

#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 ImpTwainpImpTwainInstance = NULL


Define Documentation

#define FIXTODOUBLE ( nFix   )     ((double)nFix.Whole+(double)nFix.Frac/65536.)

Definition at line 60 of file twain.cxx.

#define FIXTOLONG ( nFix   )     ((long)floor(FIXTODOUBLE(nFix)+0.5))

Definition at line 61 of file twain.cxx.

#define PFUNC   (*pDSM)

Definition at line 59 of file twain.cxx.

#define PTWAINMSG   MSG*

Definition at line 96 of file twain.cxx.


Function Documentation

IMPL_LINK ( ImpTwain  ,
ImplDestroyHdl  ,
void *  ,
 
)

Definition at line 517 of file twain.cxx.

References pImpTwainInstance.

IMPL_LINK ( ImpTwain  ,
ImplFallbackHdl  ,
void *  ,
pData   
)

Definition at line 446 of file twain.cxx.

References PFUNC, and TWAIN_EVENT_NONE.

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 
)

Definition at line 100 of file twain.cxx.


Variable Documentation

ImpTwain* pImpTwainInstance = NULL [static]

Definition at line 78 of file twain.cxx.


Generated on Thu Feb 28 17:53:32 2008 for AquaScanner by  doxygen 1.5.1