Share via


ICcTransportStream::Send

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

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

See Also

Reference

Core Connectivity Interfaces