ICcTransportStream::Send (Windows Embedded CE 6.0)
1/5/2010
This method sends a byte stream to a device.
Syntax
HRESULT Send(
DWORD dwTimeout,
LPBYTE pData,
DWORD cbData
);
Parameters
- dwTimeout
[in] Timeout in milliseconds for the send to complete.
- pData
[in] Input byte pointer to the send, of size cbData.
- cbData
[in] Size of the byte pointer argument pData.
Return Value
The following table shows the return values for this method.
Value | Description |
---|---|
S_OK |
Indicates success. |
E_INVALIDARG |
Indicates invalid input arguments. |
E_PENDING |
Indicates that Send could not be completed within the given timeout. Users can try again with the same or a different timeout value. |
E_FAIL |
Indicates any other failure. |
Requirements
Header | cctransport.idl |
Windows Embedded CE | Windows CE 5.0 and later |