Share via


TranInitLibrary (Windows Embedded CE 6.0)

1/5/2010

This function is called to initialize the transport.

Syntax

BOOL TranInit Library(
  LPCWSTR pszRegKeyRoot
);

Parameters

  • pszRegKeyRoot
    [in] Pointer to the string that contains the root registry key under HKEY_CURRENT_USER that stores transport-specific information.

Return Value

TRUE indicates success and FALSE indicates failure.

Remarks

TranInit Library is called to initialize the host-side KITL transport. Use this function to initialize your default serial port and settings, such as baud rate, byte size, stop bits, and parity. This function is called only once when the transport library is loaded for the first time. Because of this, all the global and static variables with global scope need to be initialized in this function.

Requirements

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

See Also

Reference

KITL Transport Functions

Other Resources

Kernel Independent Transport Layer