I face a problem to insert the proper lpNumberOfBytesWritten which is the parameter 4 in WriteFile(). after build, it show error "cannot convert parameter 4 from 'int *' to 'unsigned long *'. i'm sending 1 byte of data to hDevice. WriteFile(hDevice,nPtr,1,1,NULL). what's wrong with the command?