A Sandcastle Documented Class Library
Write Method (handle, pData, dwLen, pLength, dwMilliseconds)
Namespaces > PICUSB > MPUSB > Write(UInt32, Byte[](), UInt32, UInt32, UInt32)
Write data to a PIC endpoint
Syntax
C#Visual BasicManaged C++
public static uint Write (
	uint handle,
	byte[] pData,
	uint dwLen,
	out uint pLength,
	uint dwMilliseconds
)
Public Shared Function Write ( _
	handle As UInteger, _
	pData As Byte(), _
	dwLen As UInteger, _
	<OutAttribute> ByRef pLength As UInteger, _
	dwMilliseconds As UInteger _
) As UInteger
public:
static unsigned int Write (
	unsigned int handle, 
	array<unsigned char>^ pData, 
	unsigned int dwLen, 
	unsigned int% pLength, 
	unsigned int dwMilliseconds
)
Parameters
handle (UInt32)
Handle of pipe to write to
pData (Byte[]())
Data to send
dwLen (UInt32)
Length of data array
pLength (UInt32)
(?)
dwMilliseconds (UInt32)
Timeout, in milliseconds
Return Value
1=success

Assembly: PICUSB Version: 1.0.2970.38156 (Module: PICUSB)