Partager via


SCHEDULEDCONNECTIONINFO (Windows Embedded CE 6.0)

1/6/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 bPiggyback is 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 uiPeriod is 0, the specified application is awakened when the connection to the specified destination (guidDest) is available. If the value of uiPeriod is 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

See Also

Reference

Connection Manager Structures