TransportEnableInt
Other versions of this page are also available for the following:
8/27/2008
This function is used by KITLTRANSPORT to enable and disable the KITL transport interrupt if the transport is interrupt-based.
Syntax
void TransportEnableInt(
BOOL Enable
);
Parameters
- fEnable
[in] Set to TRUE to enable the interrupt or FALSE to disable it.
Return Value
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
Header | kitl.h |
Library | Kitl.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Tasks
Implementing the OEMKitlInit Function
Reference
KITLTRANSPORT
OEMEthDisableInts
OEMEthEnableInts
OEMKitlInit