TranSend (Windows Embedded CE 6.0)
1/5/2010
This function sends data on the transport.
Syntax
BOOL TranSend(
TRANSPORTID id,
LPCVOID pData,
USHORT cbData,
DWORD dwTimeout
);
Parameters
- id
[in] Valid TRANSPORTID returned from TranCreate.
- pData
[in] Pointer to the data to send.
- cbData
[in] Size of the data, in bytes, pointed to by pData.
- dwTimeout
[in] Specifies the amount of time, in milliseconds, before the operation should abort/fail.
Return Value
If the send is successful, TRUE is returned; otherwise, FALSE is returned.
Remarks
TranSend is called when a client wants to send a data packet on a stream registered using KITLRegisterClient. This function is called whenever the user wants to send a block of data to the device.
Requirements
Header | kitltran.h |
Library | Developer Implemented |
Windows Embedded CE | Windows CE .NET 4.0 and later |