Share via


KitlSetTimerCallback

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This function registers a callback that will be called once after a specific amount of time has passed.

Syntax

BOOL KitlSetTimerCallback(
  int nSecs,
  PFN_KITLTIMERCB pfnCB,
  LPVOID lpParam
);

Parameters

  • nSecs
    [in] Number of seconds to expire before the callback function is called.
  • pfnCB
    [in] Pointer to a callback function that will be called after the time specified in nSecs has elapsed.
  • lpParam
    [in] User-defined value that is passed back to the callback function.

Return Value

If a timer is set, TRUE is returned; otherwise, FALSE is returned.

Remarks

This function provides the transport with a way to handle special handshakes periodically. The callback function will only be called once so the transport needs to call this function again if a periodic timer is required.

Requirements

Header kitl.h
Library Kitl.lib
Windows Embedded CE Windows CE .NET 4.0 and later