Partager via


Adding Support for the XML Grid to a Transport

In the Configure Remote Connection dialog box, to present settings for your custom transport using the XML grid, you must support the XML grid in your transport.

To support the XML grid in your transport

  1. Add the following functions to your transport from the KitlTran.h file:

    • TranGetXMLParams

      The TranGetXMLParams function builds an XML string and returns the string to the grid, which validates the XML string. The XML string does not need to be validated at the transport level.

    • TranSetParam

      Kitldll.dll calls the TranSetParam function for each parameter, passing the parameter name and value. On the transport side, the implementation of this method does not require knowledge of XML.

    The KitlTran.h file is located in the Sdk\Wce420\Platman\Include directory in the top-level Platman directory for Platform Manager.

  2. Add the following pass-through functions to the Kitldll.dll library:

    • KITLGetTranXMLParams

      When called, KITLGetTranXMLParams calls TranGetXMLParams in the transport.

    • KITLSetTranParam

      When called, KITLSetTranParam calls TranSetParam in the transport.

    The Kitldll.dll library is located in the Bin directory in the top-level Platman directory for Platform Manager.

See Also

KITLGetTranXMLParams | KITLSetTranParam | TranGetXMLParams | TranSetParam

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.