beautypg.com

MagTek 99875125 User Manual

Page 66

background image

MagTek Device Drivers for Windows


int

main(

int

argc,

char

* argv[])

{
HANDLE

hMTD;

OpenMTD(&hMTD);

char

sBuffer[BUF_LEN]="";

DWORD

dwLenRet=0;

WriteMTD(&hMTD,"/rawxact

44\r\n",&dwLenRet);

ReadMTD(&hMTD,sBuffer,BUF_LEN,&dwLenRet);
printf("%s\n",sBuffer);
CloseMTD(&hMTD);

return

0;

}









58