Share via


ICcTransport::MTU

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

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

Core Connectivity Interfaces