调整twain-app关于信息

This commit is contained in:
yangjiaxuan 2023-06-05 10:59:54 +08:00
parent 0ed0895382
commit 0cf30f170d
2 changed files with 14 additions and 14 deletions

View File

@ -23,8 +23,8 @@ typedef struct
HGChar ip[32]; // 设备IP
HGChar mac[32]; // 设备MAC
HGChar driverVer[32]; // 驱动版本号
HGChar vendor[32]; // 制造商
HGChar copyright[32]; // 版权信息
HGChar vendor[128]; // 制造商
HGChar copyright[64]; // 版权信息
HGChar comUrl[128]; // 公司网址
HGChar comTel[32]; // 公司电话
HGChar comAddr[256]; // 公司地址

View File

@ -456,18 +456,18 @@ HGResult HGTwainDSImpl::GetDeviceCustomInfo(HGTwainDeviceCustomInfo *info)
GetCapInt(0x8852, &info->vid);
GetCapInt(0x8853, &info->pid);
GetCapStr255(0x8856, info->sn, 32);
GetCapStr255(0x8855, info->type, 32);
GetCapStr255(0x8857, info->fwVer, 32);
GetCapStr255(0x8858, info->ip, 32);
GetCapStr255(0x8859, info->mac, 32);
GetCapStr255(0x884A, info->driverVer, 32);
GetCapStr255(0x884B, info->vendor, 32);
GetCapStr255(0x884C, info->copyright, 32);
GetCapStr255(0x884D, info->comUrl, 128);
GetCapStr255(0x884E, info->comTel, 32);
GetCapStr255(0x884F, info->comAddr, 256);
GetCapStr255(0x8850, info->comGps, 256);
GetCapStr255(0x8856, info->sn, sizeof(info->sn));
GetCapStr255(0x8855, info->type, sizeof(info->type));
GetCapStr255(0x8857, info->fwVer, sizeof(info->fwVer));
GetCapStr255(0x8858, info->ip, sizeof(info->ip));
GetCapStr255(0x8859, info->mac, sizeof(info->mac));
GetCapStr255(0x884A, info->driverVer, sizeof(info->driverVer));
GetCapStr255(0x884B, info->vendor, sizeof(info->vendor));
GetCapStr255(0x884C, info->copyright, sizeof(info->copyright));
GetCapStr255(0x884D, info->comUrl, sizeof(info->comUrl));
GetCapStr255(0x884E, info->comTel, sizeof(info->comTel));
GetCapStr255(0x884F, info->comAddr, sizeof(info->comAddr));
GetCapStr255(0x8850, info->comGps, sizeof(info->comGps));
GetCapInt(0x9902, &info->rollerCount);
GetCapInt(0x8849, &info->totalCount);