Share via


TranGetHostCfg

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

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

TranCreate