ICcTransportStream::Send (Windows CE 5.0)
This method sends a byte stream to a device.
HRESULT Send( DWORDdwTimeout, LPBYTEpData,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 Values
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
OS Version: Windows CE 5.0 and later.
Header: CcTransport.idl.
Link Library: none.
See Also
Send Feedback on this topic to the authors