Share via


TranGetHostCfg (Windows Embedded CE 6.0)

1/5/2010

This function is called to retrieve and host computer-specific configuration information.

Syntax

BOOL TranGetHostCfg(
  TRANSPORTID  id,
  LPVOID pBuffer,
  PUSHORT cbBuffer
);

Parameters

  • id
    [in] Valid TRANSPORTID returned from TranCreate.
  • pBuffer
    [out] Pointer to a buffer to store the transport-specific configuration information.
  • pcbBuffer
    [out] Pointer to a buffer that contains the size of the pBuffer passed in and then the number of bytes copied to pBuffer on exit.

Return Value

None.

Remarks

This function is called during the initial handshake with the device. KITL calls TranGetHostCfg when it needs to send the host transport information to the device..

Requirements

Header kitltran.h
Library Developer Implemented
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

KITL Transport Functions
TranCreate