Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure provides information about a scheduled connection.

Syntax

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

Members

guidDest

Indicates the globally unique identifier (GUID) of the network to which the connection is established.

uiStartTime

Indicates the starting time of the scheduled connection.

uiEndTime

Indicates the ending time of the scheduled connection.

uiPeriod

Indicates how much time (in 100-nanosecond units) between scheduled connection attempts; if 0, the device is never scheduled to attempt a connection. This member can never be set to 0 if bPiggybackis FALSE.

szAppName[MAX_PATH]

Indicates the name of the application to execute when the scheduled connection is established.

szCmdLine[MAX_PATH]

Specifies the command-line application to execute when the scheduled connection is established.

szToken[32]

Specifies the unique token identifying the scheduled connection.

bPiggyback

If TRUE and the value of uiPeriodis 0, the specified application is awakened when the connection to the specified destination ( guidDest) is available. If the value of uiPeriodis greater than 0, the specified application is also awakened when the specified period has passed.

Requirements

Header connmgr.h
Windows Embedded CE Windows CE .NET 4.2 and later, Windows Embedded NavReady 2009
Windows Mobile Windows Mobile Version 5.0 and later

See Also