Compartilhar via


ICcTransportStream::Send (Compact 2013)

3/26/2014

Deprecated.

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

See Also

Reference

ICcTransportStream
Core Connectivity Interfaces