次の方法で共有


TranSetDevCfg (Compact 2013)

3/26/2014

This function sets up a transport on the development computer and provides the transport with information about settings on the target device.

Syntax

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 Value

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

Header

kitltran.h

Library

Developer Implemented

See Also

Reference

KITL Transport Functions
TranCreate