TARGETNAME=wiascanr TARGETPATH=obj TARGETTYPE=DYNLINK UMTYPE=windows DLLENTRY=DllEntryPoint NO_NTDLL=1 DLLDEF=wiascanr.def USE_CRTDLL=1 # # Add /DUSE_REAL_EVENTS to the C_DEFINES to build a driver using REAL events. Uncomment # the following line. # # C_DEFINES =$(C_DEFINES) /DUSE_REAL_EVENTS # # Add /DUNKNOWN_LENGTH_FEEDER_ONLY_SCANNER to C_DEFINES to build a feeder-only scanner # with an unknown page length, formally called a scrollfed scanner. Uncommnet the following # line. # # C_DEFINES =$(C_DEFINES) /DUNKNOWN_LENGTH_FEEDER_ONLY_SCANNER # C_DEFINES =$(C_DEFINES) INCLUDES= \ $(DDK_INC_PATH); \ $(INCLUDES); SOURCES= \ wiascanr.cpp \ IStiUSD.cpp \ IWiaMiniDrv.cpp \ validate.cpp \ dlihook.cpp \ scanapi.cpp \ wiascanr.rc TARGETLIBS=$(TARGETLIBS) \ $(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\gdi32.lib \ $(SDK_LIB_PATH)\ole32.lib \ $(SDK_LIB_PATH)\uuid.lib \ $(SDK_LIB_PATH)\oleaut32.lib \ $(SDK_LIB_PATH)\sti.lib \ $(SDK_LIB_PATH)\wiaguid.lib \ $(DDK_LIB_PATH)\wiaservc.lib DELAYLOAD_SUPPORTED=1 DELAYLOAD=wiaservc.dll DLOAD_ERROR_HANDLER=DliHook PRECOMPILED_CXX = 1 PRECOMPILED_INCLUDE = pch.h PRECOMPILED_OBJ = pch.obj