H
huangjihua
Unregistered / Unconfirmed
GUEST, unregistred user!
// crw.h:
//
// 棜楌
// 2002.11.05 姅幃夛幮僫僥僢僋 怴婯嶌惉
// 2002.11.14 姅幃夛幮僫僥僢僋 峏怴
// 2002.11.26 姅幃夛幮僫僥僢僋 峏怴
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CRW_H__97703A47_23CF_4142_8256_6BB3A9D60777__INCLUDED_)
#define AFX_CRW_H__97703A47_23CF_4142_8256_6BB3A9D60777__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <windows.h>
#include "PosCrwDef.h"
//////////////////////////////////////////////////////////////////////
// Import娭悢偺僄儞僩儕
//////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
extern "C"
{
#endif
// 偙偙偐傜埲壓偵丄DLL偐傜偺Import娭悢傪愰尵,媦傃掕媊傪偟偰壓偝偄丅
/*
================================================================================
娭悢柤
CRWOpenDevice
栠傝抣
HANDLE
娭悢偑惉岟偡傟偽丄0埲忋偺抣偱丄愙懕傪峴偭偨僨僶僀僗偺
幆暿巕傪曉偟傑偡丅
娭悢偑幐攕偡傟偽丄INVALID_HANDLE_VALUE乮-1乯偑曉傝傑偡丅
婡擻
CRWOpenDevice娭悢偼丄抂枛偵愙懕偝傟偰偄傞捠怣僨僶僀僗偵愙懕傪峴偄丄
幆暿巕傪曉偟傑偡丅
曉偝傟偨幆暿巕偼丄惂屼梡娭悢偺堷悢偲偟偰棙梡偟傑偡丅
側偍丄偙偺幆暿巕傪奐曻偡傞偵偼丄CRWCloseDevice娭悢傪棙梡偟丄
Win32SDK偺CloseHandle娭悢傪棙梡偟側偄偱壓偝偄丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
HANDLE
__declspec(dllimport) __stdcall
CRWOpenDevice(const LPSTR lpszDevice);
/*
================================================================================
娭悢柤
CRWCloseDevice
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
CRWOpenDevice娭悢偼丄抂枛偵愙懕偝傟偰偄傞僨僶僀僗偵愙懕傪峴偄丄
幆暿巕傪曉偟傑偡丅
曉偝傟偨幆暿巕偼丄惂屼梡娭悢偺堷悢偲偟偰棙梡偟傑偡丅
側偍丄偙偺幆暿巕傪奐曻偡傞偵偼丄CRWCloseDevice娭悢傪棙梡偟丄
Win32SDK偺CloseHandle娭悢傪棙梡偟側偄偱壓偝偄丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
BOOL
__declspec(dllimport) __stdcall
CRWCloseDevice(const HANDLE hDev);
/*
================================================================================
娭悢柤
CRWCountOpen
栠傝抣
DWORD
愙懕悢
婡擻
尰嵼丄抂枛偐傜愙懕偟偰偄傞僨僶僀僗偺僴儞僪儖悢傪曉偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCountOpen(void);
/*
================================================================================
娭悢柤
CRWGetDeviceHandle
栠傝抣
HANDLE
僀儞僨僢僋僗偺僨僶僀僗僴儞僪儖
婡擻
巜掕偟偨僀儞僨僢僋僗偺僨僶僀僗僴儞僪儖傪曉偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
HANDLE
__declspec(dllimport) __stdcall
CRWGetDeviceHandle(const DWORD dwNumber);
/*
================================================================================
娭悢柤
CRWGetDeviceName
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
CRWGetDeviceName娭悢偼丄僨僶僀僗僴儞僪儖偺帵偡僨僶僀僗柤傪曉偟傑偡丅
梊傔丄僶僢僼傽悢傪妋曐偟丄偦偺僒僀僘傪 *lpdwSize 偵戙擖偟偰庢摼偟傑偡丅
側偍丄昁梫僶僢僼傽悢偑懌傝側偄応崌偵偼丄娭悢偑昁梫僶僢僼傽悢傪 *lpdwSize
偵戙擖偟偰丄娭悢傪曉偟傑偡丅
lpszDevice偵 NULL 傪戙擖偟偰傕丄昁梫僶僢僼傽悢傪 *lpdwSize偵曉偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
BOOL
__declspec(dllimport) __stdcall
CRWGetDeviceName(const HANDLE hDev,
LPTSTR lpszDevice,
LPDWORD lpdwSize);
/*
================================================================================
娭悢柤
CRWGetCommDCBState
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
巜掕偟偨僨僶僀僗偺DCB傪庢摼偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
BOOL
__declspec(dllimport) __stdcall
CRWGetCommDCBState(const HANDLE hDev,
LPDCB lpDCB);
/*
================================================================================
娭悢柤
CRWSetCommDCBState
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
DCB峔憿懱偐傜僨僶僀僗傪愝掕偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
BOOL
__declspec(dllimport) __stdcall
CRWSetCommDCBState(const HANDLE hDev,
const LPDCB lpDCB);
/*
================================================================================
娭悢柤
CRWResultFunction
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
娭悢摦嶌偺敾掕傪峴偄傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWResultFunction(const HANDLE hDev,
const HANDLE hFunction,
LPDWORD lpdwWinRet);
/*
================================================================================
娭悢柤
CRWInitial
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
CRW偺弶婜壔傪峴偄傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWInitial(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwMode);
/*
================================================================================
娭悢柤
CRWHeadCleaning
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僋儕乕僯儞僌張棟
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWHeadCleaning(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwMode);
/*
================================================================================
娭悢柤
CRWWaitForCard
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪懸偪忬懺偵側傝傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWWaitForCard(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWLEDCtrl
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
LED惂屼梡偺娭悢
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWLEDCtrl(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwLed1,
const DWORD dwLed2);
/*
================================================================================
娭悢柤
CRWBuzzerCtrl
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僽僓乕惂屼梡偺娭悢
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWBuzzerCtrl(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwOnTime,
const DWORD dwOffTime,
const DWORD dwRpt);
/*
================================================================================
娭悢柤
CRWCardMove
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪偺攔弌/庢崬惂屼娭悢
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCardMove(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwMove);
/*
================================================================================
娭悢柤
CRWCardCancel
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
CRWWaitForCard,CRWWHeadCleaning娭悢偺夝彍
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCardCancel(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWPrintBufferClear
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僾儕儞僩僶僢僼傽偺僋儕傾
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintBufferClear(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWPrintData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
暥帤楍偺彂偒崬傒
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwPosX,
const DWORD dwPosY,
const DWORD dwStyle,
const LPSTR lpszString);
/*
================================================================================
娭悢柤
CRWPrintDataSeq
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
暥帤楍愝掕偺僔乕働儞僗
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintDataSeq(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwPosX,
const DWORD dwPosY,
const DWORD dwStyle,
const LPSTR lpszString);
/*
================================================================================
娭悢柤
CRWErasePrint
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
暥帤楍偺徚嫀
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWErasePrint(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWPrint
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
報嶞
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrint(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress);
/*
================================================================================
娭悢柤
CRWSetMSData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞傪儊儌儕偵彂偒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWSetMSData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwTrack,
const DWORD dwDataSize,
const LPBYTE lpbData);
/*
================================================================================
娭悢柤
CRWMSDataVerify
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞偺妋擣偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWMSDataVerify(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress);
/*
================================================================================
娭悢柤
CRWMSResultVerify
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞偺妋擣寢壥傪梫媮偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWMSResultVerify(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwISO_1,
LPDWORD lpdwISO_2,
LPDWORD lpdwISO_3,
LPDWORD lpdwJIS_2);
/*
================================================================================
娭悢柤
CRWWriteMSData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞傪僇乕僪偵彂偒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWWriteMSData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress);
/*
================================================================================
娭悢柤
CRWWriteMSSeq
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞傪僇乕僪偵彂偒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWWriteMSSeq(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress,
const LPDWORD lpdwMove);
/*
================================================================================
娭悢柤
CRWGetMSData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儊儌儕僨乕僞傪庢摼偡傞
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWGetMSData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwTrack,
LPDWORD lpdwSize,
LPBYTE lpbData);
/*
================================================================================
娭悢柤
CRWReadMSSeq
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪偺僨乕僞傪撉傒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadMSSeq(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwTrack,
LPDWORD lpdwResultVerify,
LPDWORD lpdwMove,
LPDWORD lpdwSize,
LPBYTE lpbData);
/*
================================================================================
娭悢柤
CRWReadMSData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪偺僨乕僞傪撉傒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadMSData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwTrack,
const LPDWORD lpdwMove);
/*
================================================================================
娭悢柤
CRWRegWGaiji
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
奜帤傪搊榐偟傑偡(慡妏)丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWRegWGaiji(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwDot,
const DWORD dwRegNum,
const LPBYTE lpChrData);
/*
================================================================================
娭悢柤
CRWRegSGaiji
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
奜帤傪搊榐偟傑偡(敿妏)丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWRegSGaiji(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwDot,
const DWORD dwRegNum,
const LPBYTE lpChrData);
/*
================================================================================
娭悢柤
CRWPrintDotImage
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僪僢僩僀儊乕僕傪嶌惉偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintDotImage(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwPosX,
const DWORD dwPosY,
const DWORD dwWidth,
const DWORD dwDataSize,
const LPBYTE lpDotData);
/*
================================================================================
娭悢柤
CRWReadStatus
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僨僶僀僗偺忣曬傪庢摼偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadStatus(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwCard,
LPDWORD lpdwTemp,
LPDWORD lpdwPos,
LPDWORD lpdwGate);
/*
================================================================================
娭悢柤
CRWReadVersion
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僶乕僕儑儞忣曬傪庢摼偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadVersion(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPTSTR lpszName,
LPTSTR lpszVersion);
/*
================================================================================
娭悢柤
CRWCardOut
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪傪攔弌偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCardOut(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWSetMode
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儌乕僪傪愝掕偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWSetMode(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwReadTrack,
const LPDWORD lpdwReadRetry,
const LPDWORD lpdwWriteTrack,
const LPDWORD lpdwWriteRetry,
const LPDWORD lpdwMagnetic,
const LPDWORD lpdwAntiMagnetic,
const LPDWORD lpdwCleaning);
/*
================================================================================
娭悢柤
CRWGetMode
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儌乕僪傪庢摼偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWGetMode(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwReadTrack,
LPDWORD lpdwReadRetry,
LPDWORD lpdwWriteTrack,
LPDWORD lpdwWriteRetry,
LPDWORD lpdwMagnetic,
LPDWORD lpdwAntiMagnetic,
LPDWORD lpdwCleaning);
/*
================================================================================
娭悢柤
CRWReadPass
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僷僗夞悢傪撉傒庢傞
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadPass(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwRetCount);
/*
================================================================================
娭悢柤
CRWSetPrintMode
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
報嶞儌乕僪愝掕
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWSetPrintMode(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwKanji,
const LPDWORD lpdwFontType,
const LPDWORD lpdwSSpace,
const LPDWORD lpdwWSpace,
const LPDWORD lpdwSpace,
const LPDWORD lpdwPrintPower,
const LPDWORD lpdwErasePower,
const LPDWORD lpdwPrintComp,
const LPDWORD lpdwPosComp,
const LPDWORD lpdwPosS,
const LPDWORD lpdwPosE);
/*
================================================================================
娭悢柤
CRWGetPrintMode
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
報嶞儌乕僪庢摼
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWGetPrintMode(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwKanji,
LPDWORD lpdwFontType,
LPDWORD lpdwSSpace,
LPDWORD lpdwWSpace,
LPDWORD lpdwSpace,
LPDWORD lpdwPrintPower,
LPDWORD lpdwErasePower,
LPDWORD lpdwPrintComp,
LPDWORD lpdwPosComp,
LPDWORD lpdwPosS,
LPDWORD lpdwPosE,
LPDWORD lpdwHeadWidth);
/*
================================================================================
娭悢柤
CRWPrintSeq
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
報嶞丒徚嫀僔乕働儞僗
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintSeq(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress,
const LPDWORD lpdwMove);
/*
================================================================================
娭悢柤
CRWCloseFunction
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
娭悢傪暵偠傞
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCloseFunction(const HANDLE hDev,
const HANDLE hFunction);
/*
================================================================================
娭悢柤
CRWDLLVersion
栠傝抣
DWORD
僶乕僕儑儞No偑曉傞
婡擻
DLL偺僶乕僕儑儞傪曉偡
棜楌
2002.10.18 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWDLLVersion(void);
/*
================================================================================
娭悢柤
CRWGetMSDataEx
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儊儌儕僨乕僞傪庢摼偡傞(暋悢僩儔僢僋斉)
棜楌
2002.10.27 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWGetMSDataEx(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwTrack,
LPDWORD lpdwRecSize,
LPVOID lpvRecordData);
/*
================================================================================
娭悢柤
CRWReadMSSeqEx
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儊儌儕僨乕僞傪庢摼偡傞(暋悢僩儔僢僋斉)
棜楌
2002.10.27 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadMSSeqEx(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwTrack,
LPDWORD lpdwMove,
LPDWORD lpdwRecSize,
LPVOID lpvRecordData);
// 偙偙枠偵丄DLL偐傜偺Import娭悢傪愰尵,媦傃掕媊傪偟偰壓偝偄丅
#ifdef __cplusplus
}
#endif
#endif // !defined(AFX_CRW_H__97703A47_23CF_4142_8256_6BB3A9D60777__INCLUDED_)
//
// 棜楌
// 2002.11.05 姅幃夛幮僫僥僢僋 怴婯嶌惉
// 2002.11.14 姅幃夛幮僫僥僢僋 峏怴
// 2002.11.26 姅幃夛幮僫僥僢僋 峏怴
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CRW_H__97703A47_23CF_4142_8256_6BB3A9D60777__INCLUDED_)
#define AFX_CRW_H__97703A47_23CF_4142_8256_6BB3A9D60777__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <windows.h>
#include "PosCrwDef.h"
//////////////////////////////////////////////////////////////////////
// Import娭悢偺僄儞僩儕
//////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
extern "C"
{
#endif
// 偙偙偐傜埲壓偵丄DLL偐傜偺Import娭悢傪愰尵,媦傃掕媊傪偟偰壓偝偄丅
/*
================================================================================
娭悢柤
CRWOpenDevice
栠傝抣
HANDLE
娭悢偑惉岟偡傟偽丄0埲忋偺抣偱丄愙懕傪峴偭偨僨僶僀僗偺
幆暿巕傪曉偟傑偡丅
娭悢偑幐攕偡傟偽丄INVALID_HANDLE_VALUE乮-1乯偑曉傝傑偡丅
婡擻
CRWOpenDevice娭悢偼丄抂枛偵愙懕偝傟偰偄傞捠怣僨僶僀僗偵愙懕傪峴偄丄
幆暿巕傪曉偟傑偡丅
曉偝傟偨幆暿巕偼丄惂屼梡娭悢偺堷悢偲偟偰棙梡偟傑偡丅
側偍丄偙偺幆暿巕傪奐曻偡傞偵偼丄CRWCloseDevice娭悢傪棙梡偟丄
Win32SDK偺CloseHandle娭悢傪棙梡偟側偄偱壓偝偄丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
HANDLE
__declspec(dllimport) __stdcall
CRWOpenDevice(const LPSTR lpszDevice);
/*
================================================================================
娭悢柤
CRWCloseDevice
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
CRWOpenDevice娭悢偼丄抂枛偵愙懕偝傟偰偄傞僨僶僀僗偵愙懕傪峴偄丄
幆暿巕傪曉偟傑偡丅
曉偝傟偨幆暿巕偼丄惂屼梡娭悢偺堷悢偲偟偰棙梡偟傑偡丅
側偍丄偙偺幆暿巕傪奐曻偡傞偵偼丄CRWCloseDevice娭悢傪棙梡偟丄
Win32SDK偺CloseHandle娭悢傪棙梡偟側偄偱壓偝偄丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
BOOL
__declspec(dllimport) __stdcall
CRWCloseDevice(const HANDLE hDev);
/*
================================================================================
娭悢柤
CRWCountOpen
栠傝抣
DWORD
愙懕悢
婡擻
尰嵼丄抂枛偐傜愙懕偟偰偄傞僨僶僀僗偺僴儞僪儖悢傪曉偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCountOpen(void);
/*
================================================================================
娭悢柤
CRWGetDeviceHandle
栠傝抣
HANDLE
僀儞僨僢僋僗偺僨僶僀僗僴儞僪儖
婡擻
巜掕偟偨僀儞僨僢僋僗偺僨僶僀僗僴儞僪儖傪曉偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
HANDLE
__declspec(dllimport) __stdcall
CRWGetDeviceHandle(const DWORD dwNumber);
/*
================================================================================
娭悢柤
CRWGetDeviceName
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
CRWGetDeviceName娭悢偼丄僨僶僀僗僴儞僪儖偺帵偡僨僶僀僗柤傪曉偟傑偡丅
梊傔丄僶僢僼傽悢傪妋曐偟丄偦偺僒僀僘傪 *lpdwSize 偵戙擖偟偰庢摼偟傑偡丅
側偍丄昁梫僶僢僼傽悢偑懌傝側偄応崌偵偼丄娭悢偑昁梫僶僢僼傽悢傪 *lpdwSize
偵戙擖偟偰丄娭悢傪曉偟傑偡丅
lpszDevice偵 NULL 傪戙擖偟偰傕丄昁梫僶僢僼傽悢傪 *lpdwSize偵曉偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
BOOL
__declspec(dllimport) __stdcall
CRWGetDeviceName(const HANDLE hDev,
LPTSTR lpszDevice,
LPDWORD lpdwSize);
/*
================================================================================
娭悢柤
CRWGetCommDCBState
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
巜掕偟偨僨僶僀僗偺DCB傪庢摼偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
BOOL
__declspec(dllimport) __stdcall
CRWGetCommDCBState(const HANDLE hDev,
LPDCB lpDCB);
/*
================================================================================
娭悢柤
CRWSetCommDCBState
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
DCB峔憿懱偐傜僨僶僀僗傪愝掕偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
BOOL
__declspec(dllimport) __stdcall
CRWSetCommDCBState(const HANDLE hDev,
const LPDCB lpDCB);
/*
================================================================================
娭悢柤
CRWResultFunction
栠傝抣
BOOL
TRUE 丗 惉岟
FALSE丗 幐攕
婡擻
娭悢摦嶌偺敾掕傪峴偄傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWResultFunction(const HANDLE hDev,
const HANDLE hFunction,
LPDWORD lpdwWinRet);
/*
================================================================================
娭悢柤
CRWInitial
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
CRW偺弶婜壔傪峴偄傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWInitial(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwMode);
/*
================================================================================
娭悢柤
CRWHeadCleaning
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僋儕乕僯儞僌張棟
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWHeadCleaning(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwMode);
/*
================================================================================
娭悢柤
CRWWaitForCard
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪懸偪忬懺偵側傝傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWWaitForCard(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWLEDCtrl
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
LED惂屼梡偺娭悢
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWLEDCtrl(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwLed1,
const DWORD dwLed2);
/*
================================================================================
娭悢柤
CRWBuzzerCtrl
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僽僓乕惂屼梡偺娭悢
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWBuzzerCtrl(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwOnTime,
const DWORD dwOffTime,
const DWORD dwRpt);
/*
================================================================================
娭悢柤
CRWCardMove
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪偺攔弌/庢崬惂屼娭悢
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCardMove(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwMove);
/*
================================================================================
娭悢柤
CRWCardCancel
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
CRWWaitForCard,CRWWHeadCleaning娭悢偺夝彍
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCardCancel(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWPrintBufferClear
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僾儕儞僩僶僢僼傽偺僋儕傾
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintBufferClear(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWPrintData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
暥帤楍偺彂偒崬傒
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwPosX,
const DWORD dwPosY,
const DWORD dwStyle,
const LPSTR lpszString);
/*
================================================================================
娭悢柤
CRWPrintDataSeq
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
暥帤楍愝掕偺僔乕働儞僗
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintDataSeq(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwPosX,
const DWORD dwPosY,
const DWORD dwStyle,
const LPSTR lpszString);
/*
================================================================================
娭悢柤
CRWErasePrint
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
暥帤楍偺徚嫀
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWErasePrint(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWPrint
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
報嶞
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrint(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress);
/*
================================================================================
娭悢柤
CRWSetMSData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞傪儊儌儕偵彂偒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWSetMSData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwTrack,
const DWORD dwDataSize,
const LPBYTE lpbData);
/*
================================================================================
娭悢柤
CRWMSDataVerify
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞偺妋擣偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWMSDataVerify(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress);
/*
================================================================================
娭悢柤
CRWMSResultVerify
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞偺妋擣寢壥傪梫媮偟傑偡丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWMSResultVerify(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwISO_1,
LPDWORD lpdwISO_2,
LPDWORD lpdwISO_3,
LPDWORD lpdwJIS_2);
/*
================================================================================
娭悢柤
CRWWriteMSData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞傪僇乕僪偵彂偒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWWriteMSData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress);
/*
================================================================================
娭悢柤
CRWWriteMSSeq
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
MS僨乕僞傪僇乕僪偵彂偒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWWriteMSSeq(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress,
const LPDWORD lpdwMove);
/*
================================================================================
娭悢柤
CRWGetMSData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儊儌儕僨乕僞傪庢摼偡傞
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWGetMSData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwTrack,
LPDWORD lpdwSize,
LPBYTE lpbData);
/*
================================================================================
娭悢柤
CRWReadMSSeq
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪偺僨乕僞傪撉傒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadMSSeq(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwTrack,
LPDWORD lpdwResultVerify,
LPDWORD lpdwMove,
LPDWORD lpdwSize,
LPBYTE lpbData);
/*
================================================================================
娭悢柤
CRWReadMSData
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪偺僨乕僞傪撉傒崬傓
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadMSData(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwTrack,
const LPDWORD lpdwMove);
/*
================================================================================
娭悢柤
CRWRegWGaiji
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
奜帤傪搊榐偟傑偡(慡妏)丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWRegWGaiji(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwDot,
const DWORD dwRegNum,
const LPBYTE lpChrData);
/*
================================================================================
娭悢柤
CRWRegSGaiji
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
奜帤傪搊榐偟傑偡(敿妏)丅
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWRegSGaiji(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwDot,
const DWORD dwRegNum,
const LPBYTE lpChrData);
/*
================================================================================
娭悢柤
CRWPrintDotImage
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僪僢僩僀儊乕僕傪嶌惉偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintDotImage(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const DWORD dwPosX,
const DWORD dwPosY,
const DWORD dwWidth,
const DWORD dwDataSize,
const LPBYTE lpDotData);
/*
================================================================================
娭悢柤
CRWReadStatus
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僨僶僀僗偺忣曬傪庢摼偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadStatus(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwCard,
LPDWORD lpdwTemp,
LPDWORD lpdwPos,
LPDWORD lpdwGate);
/*
================================================================================
娭悢柤
CRWReadVersion
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僶乕僕儑儞忣曬傪庢摼偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadVersion(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPTSTR lpszName,
LPTSTR lpszVersion);
/*
================================================================================
娭悢柤
CRWCardOut
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僇乕僪傪攔弌偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCardOut(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction);
/*
================================================================================
娭悢柤
CRWSetMode
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儌乕僪傪愝掕偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWSetMode(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwReadTrack,
const LPDWORD lpdwReadRetry,
const LPDWORD lpdwWriteTrack,
const LPDWORD lpdwWriteRetry,
const LPDWORD lpdwMagnetic,
const LPDWORD lpdwAntiMagnetic,
const LPDWORD lpdwCleaning);
/*
================================================================================
娭悢柤
CRWGetMode
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儌乕僪傪庢摼偟傑偡
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWGetMode(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwReadTrack,
LPDWORD lpdwReadRetry,
LPDWORD lpdwWriteTrack,
LPDWORD lpdwWriteRetry,
LPDWORD lpdwMagnetic,
LPDWORD lpdwAntiMagnetic,
LPDWORD lpdwCleaning);
/*
================================================================================
娭悢柤
CRWReadPass
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
僷僗夞悢傪撉傒庢傞
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadPass(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwRetCount);
/*
================================================================================
娭悢柤
CRWSetPrintMode
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
報嶞儌乕僪愝掕
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWSetPrintMode(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwKanji,
const LPDWORD lpdwFontType,
const LPDWORD lpdwSSpace,
const LPDWORD lpdwWSpace,
const LPDWORD lpdwSpace,
const LPDWORD lpdwPrintPower,
const LPDWORD lpdwErasePower,
const LPDWORD lpdwPrintComp,
const LPDWORD lpdwPosComp,
const LPDWORD lpdwPosS,
const LPDWORD lpdwPosE);
/*
================================================================================
娭悢柤
CRWGetPrintMode
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
報嶞儌乕僪庢摼
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWGetPrintMode(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwKanji,
LPDWORD lpdwFontType,
LPDWORD lpdwSSpace,
LPDWORD lpdwWSpace,
LPDWORD lpdwSpace,
LPDWORD lpdwPrintPower,
LPDWORD lpdwErasePower,
LPDWORD lpdwPrintComp,
LPDWORD lpdwPosComp,
LPDWORD lpdwPosS,
LPDWORD lpdwPosE,
LPDWORD lpdwHeadWidth);
/*
================================================================================
娭悢柤
CRWPrintSeq
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
報嶞丒徚嫀僔乕働儞僗
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWPrintSeq(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwProgress,
const LPDWORD lpdwMove);
/*
================================================================================
娭悢柤
CRWCloseFunction
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
娭悢傪暵偠傞
棜楌
2002.10.08 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWCloseFunction(const HANDLE hDev,
const HANDLE hFunction);
/*
================================================================================
娭悢柤
CRWDLLVersion
栠傝抣
DWORD
僶乕僕儑儞No偑曉傞
婡擻
DLL偺僶乕僕儑儞傪曉偡
棜楌
2002.10.18 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWDLLVersion(void);
/*
================================================================================
娭悢柤
CRWGetMSDataEx
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儊儌儕僨乕僞傪庢摼偡傞(暋悢僩儔僢僋斉)
棜楌
2002.10.27 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWGetMSDataEx(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
const LPDWORD lpdwTrack,
LPDWORD lpdwRecSize,
LPVOID lpvRecordData);
/*
================================================================================
娭悢柤
CRWReadMSSeqEx
栠傝抣
DWORD
0 惉岟
0!= Windows Platform SDK偺僄儔乕抣傪曉偟傑偡丅
(GetLastError娭悢偲摨抣)
婡擻
儊儌儕僨乕僞傪庢摼偡傞(暋悢僩儔僢僋斉)
棜楌
2002.10.27 姅幃夛幮僫僥僢僋
================================================================================
*/
DWORD
__declspec(dllimport) __stdcall
CRWReadMSSeqEx(const HANDLE hDev,
LPDWORD lpdwRetValue,
HANDLE *hFunction,
LPDWORD lpdwTrack,
LPDWORD lpdwMove,
LPDWORD lpdwRecSize,
LPVOID lpvRecordData);
// 偙偙枠偵丄DLL偐傜偺Import娭悢傪愰尵,媦傃掕媊傪偟偰壓偝偄丅
#ifdef __cplusplus
}
#endif
#endif // !defined(AFX_CRW_H__97703A47_23CF_4142_8256_6BB3A9D60777__INCLUDED_)