Compartilhar via


PFN_SETHOSTCFG (Compact 2013)

10/16/2014

This function is used by the kernel independent transport layer (KITL) to send development computer transport configuration information to the device transport.

Syntax

typedef BOOL (* PFN_SETHOSTCFG) (
    LPBYTE pbFrame,
   USHORT cbFrame
);

Parameters

  • pbFrame
    [in] Pointer to a frame to encode for the transport.
  • cbFrame
    [in] Size of the data.

Return Value

Returns true if successful; otherwise, false.

Remarks

The information contained in the KITLTRANSPORT structure depends on the hardware transport in use.

You implement a function of this type and assign it to the pfnSetHostCfg member of KITLTRANSPORT during your Board Support Package (BSP) KITL initialization. For an example of the implementation of this function, see the KitlEthSetHostCfg function in %_WINCEROOT%\Platform\Common\Src\Common\Kitl\Kitleth.c. If you are using the common KITL library in conjunction with Ethernet or serial transport, this function is already implemented for you.

Requirements

Header

kitl.h

Library

Kitl.lib

See Also

Reference

Required KITL Functions
KITLTRANSPORT