次の方法で共有


WZC_CONTEXT (Windows Embedded CE 6.0)

1/6/2010

This structure stores all the global service options that can be customized.

Note

Any timer member that is set to 0xffffffff is automatically replaced with default value. Default values are defined in Wzcsapi.h.

Syntax

typedef struct _wzc_context_t
{
  DWORD dwFlags; 
  DWORD tmTr; 
  DWORD tmTc; 
  DWORD tmTp; 
  DWORD tmTf; 
  DWORD tmTd; 
} WZC_CONTEXT, *PWZC_CONTEXT;

Members

  • dwFlags
    Context control flags.

    Note

    This member is not used in Windows Embedded CE. The application must call the WZCQueryContext function to get the initial value, and then set the new value by calling the WZCSetContext function. For more information see the WZC_CONTEXT_CTL_TIMER flags described in Automatic Configuration Constants.

  • tmTr
    Timeout value in milliseconds until a rescan operation completes. Default value is TMMS_DEFAULT_TR (0x00000bb8). If this value is set to 0, WZCSVC does not issue an OID_802_11_BSSID_LIST_SCAN request to the underlying driver but rely exclusively on the list of BSSIDs cached by the driver. For more information about the cached BSSID values, see OID_802_11_BSSID_LIST.
  • tmTc
    Timeout value in milliseconds to retry a valid configuration. Default value is TMMS_DEFAULT_TC (0x70000000).
  • tmTp
    Timeout value in milliseconds to expect a media connect for a selected configuration. Default value is TMMS_DEFAULT_TP (0x000007d0).
  • tmTf
    Timeout value in milliseconds to recover from a failed configuration. Default value is TMMS_DEFAULT_TF (0x0000ea60).
  • tmTd
    Timeout value in milliseconds to wait before State Soft Reset (SSr) processing. Default value is TMMS_DEFAULT_TF (0x00001388).

Requirements

Header wzcsapi.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Automatic Configuration Structures
WZCSetContext