Partager via


ICcTransport::MTU (Windows Embedded CE 6.0)

1/5/2010

This method gets the maximum packet size for transmission.

Syntax

HRESULT MTU(
  DWORD* pdwMTU
);

Parameters

  • pdwMTU
    [out, retval] Maximum packet size.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates success.

E_INVALIDARG

Indicates invalid input arguments.

Remarks

This is the maximum packet size associated with the transport.

The Maximum Transmission Unit (MTU) for KITL is 1520 bytes.

Clients can use this information to packetize their data streams.

Requirements

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

See Also

Reference

ICcTransport
Core Connectivity Interfaces