Share via


SCHEDULEDCONNECTIONINFO

Send Feedback

This structure provides information about a scheduled connection.

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
    Globally unique identifier (GUID) of the network to which the connection is established.
  • uiStartTime
    Starting time of the scheduled connection.
  • uiEndTime
    Ending time of the scheduled connection.
  • uiPeriod
    Amount of time (in 100-nanosecond units) between scheduled connection attempts; if 0, the device is never scheduled to attempt connection. This member can never be set to 0 if bPiggyback is FALSE.
  • szAppName[MAX_PATH]
    Name of the application to execute when the scheduled connection is established.
  • szCmdLine[MAX_PATH]
    Command-line application to execute when the scheduled connection is established.
  • szToken[32]
    Unique token identifying the scheduled connection.
  • bPiggyback
    If TRUE, and if 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

OS Versions: Windows CE .NET 4.2 and later.
Header: Connmgr.h.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.