PrApi: WriteUData

WriteUData

Writes the user data to the opened device.

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

Parameters

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

Return Values

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

Languages

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

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

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

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods WakeUp