Partager via


ICcTransport::Bandwidth (Windows Embedded CE 6.0)

1/5/2010

This method returns the transport maximum bandwidth.

Syntax

HRESULT Bandwidth(
  DWORD* pdwRate
);

Parameters

  • pdwRate
    [out, retval] Maximum supported rate of transport in bytes per second.

Remarks

This is the maximum bandwidth associated with the transport.

Clients can use this information to throttle data send or receive calls.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates success.

E_INVALIDARG

Indicates invalid input arguments.

Requirements

Header cctransport.idl
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ICcTransport
Core Connectivity Interfaces