Share via


SCHEDULEDCONNECTIONINFO

The SCHEDULEDCONNECTIONINFO structure contains information about a scheduled connection.

Syntax

typedef struct _SCHEDULEDCONNECTIONINFO {
  GUID guidDest;
  UINT64 uiStartTime;
  UINT64 uiEndTime;
  UINT64 uiPeriod;
  TCHAR szAppName[MAX_PATH];
  TCHAR szCmdLine[MAX_PATH];
  TCHAR szToken[32];
  BOOL bPiggyback;
} SCHEDULEDCONNECTIONINFO;

Members

  • guidDest
    Globally unique identifier (GUID) of the network to which the connection is established.
  • uiStartTime
    Starting time of the scheduled connection; uses the same reference as the FILETIME structure (the number of 100-nanosecond intervals since January 1, 1601).
  • uiEndTime
    Ending time of the scheduled connection; this member uses the same reference as the FILETIME structure.
  • uiPeriod
    Amount of time (in 100-nanosecond units) between scheduled connection attempts; if 0, the device is never scheduled to attempt connection.
  • szAppName[MAX_PATH]
    Name of the application to execute when the scheduled connection is established.
  • szCmdLine[MAX_PATH]
    Command line code to execute when the scheduled connection is established.
  • szToken[32]
    Unique token identifying the scheduled connection.
  • bPiggyback
    If TRUE, the scheduled application executes whenever a connection is made to the network matching the guidDest field. Setting this field to TRUE and setting uiPeriod to 0 allows an application to monitor any connection to a specific network without scheduling a connection of its own.

Return Values

None.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later
Header: connmgr.h
Library: cellcore.lib

See Also

Connection Manager

Connection Manager API Structures

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.