Share via


TranGetHostCfg

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

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

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 Values

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

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.