TransportEnableInt (Windows CE 5.0)

Send Feedback

This function is used by KITLTRANSPORT to enable and disable the KITL transport interrupt if the transport is interrupt-based.

void TransportEnableInt(BOOL fEnable);

Parameters

  • fEnable
    [in] Set to TRUE to enable the interrupt or FALSE to disable it.

Return Values

None.

Remarks

Assign TransportEnableInt to the pfnEnableInt member of KITLTRANSPORT during OEMKitlInit.

If the KITL transport is interrupt-based, an OEM must set a function pointer in KITLTRANSPORT.pfnEnableInt to enable interrupts.

The function set to pfnEnableInt is usually called TransportEnableInt, but an OEM can define a different name.

The following code example shows an implementation for TransportEnableInt, which calls OEMEthEnableInts and OEMEthDisableInts.

void TransportEnableInt (BOOL fEnable)
{
   if (fEnable)
      OEMEthEnableInts();
   else
      OEMEthDisableInts();
}

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Kitl.h.
Link Library: Kitl.lib.

See Also

KITLTRANSPORT | OEMEthDisableInts | OEMEthEnableInts | OEMKitlInit | Implementing the OEMKitlInit Function

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.