PrApi: ReadUData

ReadUData

Reads the user data from the device.

 Public Function ReadUData(
	  ByVal fblock As Long,
	  ByVal nblocks As Long,
	  ByRef data ) As Boolean

Parameters

fblock
First block to read.
nblocks
Number of blocks to read.
data
Bytes read.

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function ReadUData(ByVal fblock As Long, ByVal nblocks As Long, ByRef data) As Boolean

[Delphi] function ReadUData(fblock: Integer; nblocks: Integer; var data: OleVariant): Boolean;

[C++] bool ReadUData(long fblock, long nblocks, VARIANT* data);

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods ReadMagstripe Recognize