TranSetDevCfg

This function is called to set up the host computer transport with the device-side configuration information.

BOOL TranSetDevCfg(
  TRANSPORTID id,
  LPCVOID pData,
  USHORT cbData
);

Parameters

  • id
    [in] Valid TRANSPORTID returned from TranCreate.
  • pData
    [out] Pointer to a data buffer that store the device-side transport configuration information.
  • cbData
    [in] Size of the pData buffer, in bytes.

Return Values

TRUE indicates success and FALSE indicates failure.

Remarks

This function is called during the initial handshake with the device. KITL calls TranSetDevCfg when it receives the device transport information.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Kitltran.h.
Link Library: Not applicable.

See Also

TranCreate

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.