uv-twain/huagao/stdafx.h

128 lines
6.7 KiB
C
Raw Normal View History

<EFBFBD><EFBFBD>// stdafx.h : h<EFBFBD>Q<EFBFBD>|<EFBFBD>~S+T<EFBFBD>e<EFBFBD>N<EFBFBD>vS+T<EFBFBD>e<EFBFBD>N <EFBFBD>
// b/f<EFBFBD>~8^O(uFO N8^<EFBFBD>f9e<EFBFBD>v
// yr<EFBFBD>[<EFBFBD>Ny<EFBFBD><EFBFBD>v<EFBFBD>vS+T<EFBFBD>e<EFBFBD>N
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // <EFBFBD>N Windows 4Y-N<EFBFBD>cd<EFBFBD><EFBFBD>g\O(u<EFBFBD>vD<EFBFBD><EFBFBD>e
#endif
#include "targetver.h"
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // <EFBFBD>g<EFBFBD>N CString <EFBFBD>g <EFBFBD><EFBFBD>Qpe\/f>f_<EFBFBD>v
#include <afxwin.h> // MFC 8h<EFBFBD>_<EFBFBD>~<EFBFBD>N<EFBFBD>Th<EFBFBD>Q<EFBFBD>~<EFBFBD>N
#include <afxext.h> // MFC ibU\
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h> // MFC OLE {|
#include <afxodlgs.h> // MFC OLE <EFBFBD>[݋Fh{|
#include <afxdisp.h> // MFC RS{|
#endif // _AFX_NO_OLE_SUPPORT
#ifndef _AFX_NO_DB_SUPPORT
2020-12-01 03:15:32 +00:00
#include <afxdb.h> // MFC ODBC penc<EFBFBD>^{|MAKEHUAGAO
#endif // _AFX_NO_DB_SUPPORT
#ifndef _AFX_NO_DAO_SUPPORT
#include <afxdao.h> // MFC DAO penc<EFBFBD>^{|
#endif // _AFX_NO_DAO_SUPPORT
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h> // MFC <EFBFBD>[ Internet Explorer 4 lQqQ<EFBFBD>c<EFBFBD>N<EFBFBD>v/ec
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC <EFBFBD>[ Windows lQqQ<EFBFBD>c<EFBFBD>N<EFBFBD>v/ec
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxwin.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
#define SCANNERNAME L"G300UV"
#define PRODUCT_NAME TEXT("ؚ<1F>kb<6B>c<EFBFBD>N")
2020-12-01 03:15:32 +00:00
#define MAKEHUAGAO
#ifdef MAKEHUAGAO
#define TWAIN_NAME L"HUAGOSCAN UVTWAIN"
#define HG_VERSION_INFO L"HUAGOSCAN Driver Version 3.3.2.5"
#ifndef TWAIN_JSON_PATH
2020-12-01 03:15:32 +00:00
#define TWAIN_JSON_PATH TEXT("\\HUAGOSCAN Technology\\TWAIN\\Default.json")
#endif
#ifndef CHM_DEFAULT_PATH
2020-12-01 03:15:32 +00:00
#define CHM_DEFAULT_PATH TEXT("/twain_32/HUAGOSCAN/HUAGOSCAN TWAIN_Cs.chm")
#endif
#ifndef HUAGAO_SCAN
2020-12-01 03:15:32 +00:00
#define HUAGAO_SCAN TEXT("\\HUAGOSCAN Technology")
#endif
#ifndef LIMIT_INFO
#define LIMIT_INFO TEXT("Copyright HUAGOSCAN INFOR TECH CORP.2017")
#endif // !LIMIT_INFO
#ifndef COMPANY_NAME
#define COMPANY_NAME TEXT("<00>[<5B>lNSؚ<53>Oo`<60>y<EFBFBD>b gP<67>lQ<6C>S")
#endif // !COMPANY_NAME
#ifndef COMPANY_ADDRESS
#define COMPANY_ADDRESS TEXT("Ym_lw<>[<5B>l^<1E><>]:Sf[<5B>X<EFBFBD><58>655<00>S<08><>O<EFBFBD>y'Y<>S <09>C h211")
#endif // !COMPANY_NAME
2020-12-01 03:15:32 +00:00
#else defined MAKERTW
2020-12-01 03:15:32 +00:00
#define TWAIN_NAME L"RIGHTWAYSCAN UVTWAIN"
#define HG_VERSION_INFO L"RIGHTWAYSCAN Driver Version 3.3.2.5"
#ifndef TWAIN_JSON_PATH
#define TWAIN_JSON_PATH TEXT("\\RighTWay Technology\\TWAIN\\Default.json")
#endif
#ifndef CHM_DEFAULT_PATH
#define CHM_DEFAULT_PATH TEXT("/twain_32/RighTWayScan/RighTWayScan TWAIN_Cs.chm")
#endif
#ifndef HUAGAO_SCAN
#define HUAGAO_SCAN TEXT("\\RighTWay Technology")
#endif
#ifndef LIMIT_INFO
#define LIMIT_INFO TEXT("Copyright RIGHTWAYSCAN INFOR TECH CORP.2001")
#endif // !LIMIT_INFO
#ifndef COMPANY_NAME
#define COMPANY_NAME TEXT("VnS^tyrZQ<51>~<7E>] z gP<67>lQ<6C>S")
#endif // !COMPANY_NAME
#ifndef COMPANY_ADDRESS
#define COMPANY_ADDRESS TEXT("*mq\:S<>]<5D>QuQ~n1j<31><6A>'Y<>SB-2102")
#endif // !COMPANY_NAME
#endif // MAKEHUAGAO
#ifndef TWAIN_INIPATH
#define TWAIN_INIPATH TEXT("\\TWAIN")
#endif //TWAIN_INIPATH
#ifndef TWAIN_DATA_PATH
#define TWAIN_DATA_PATH TEXT("\\DATA")
#endif //TWAIN_DATA_PATH
#ifndef TWAIN_ERROR_PATH
#define TWAIN_ERROR_PATH TEXT("\\ERRORLOG\\")
#endif // !TWAIN_ERROR_PATH
#ifndef TWAIN_ERROR_LOG_NAME
#define TWAIN_ERROR_LOG_NAME TEXT("errorlog.txt")
#endif // !TWAIN_ERROR_LOG_NAME
#ifndef TWAIN_JSON_NAME
#define TWAIN_JSON_NAME TEXT("Default.json")
#endif //TWAIN_INI_NAME
static const int kMaxInfoBuffer = 256;
#define GBYTES 1073741824
#define MBYTES 1048576
#define KBYTES 1024
#define DKBYTES 1024.0