@waiting/idcard-reader-bp8903
Version:
12 lines (11 loc) • 402 B
JavaScript
import { join, tmpdir, } from '@waiting/shared-core'
import { DTypes as W } from 'win32-def'
export const config = {
appDir: '',
tmpDir: join(tmpdir(), 'idcard-reader'),
}
export const dllFuncs = {
OpenCom: [W.INT32, [W.INT32, W.POINT, W.INT32, W.INT32]],
CloseCom: [W.INT32, []],
IDCard_GetInformation: [W.INT32, [W.INT32, W.INT32, W.POINT, W.INT32, W.POINT, W.POINT, W.POINT]],
}