If anyone could translate this to WD I'd be very grateful - Rockey is a function in an external DLL called Rockey4ND.DLL
WORD handle[16],p1,p2,p3,p4,retcode; DWORD lp1, lp2; int i,j,num;
p1 = 0xc44c; p2 = 0xc8f8; p3 = 0; p4 = 0;
{ retcode = Rockey(1,&handle[0],&lp1,&lp2,&p1,&p2,&p3,&p4,buffer) |