RASNAPSTATE structure (ras.h)

The RASNAPSTATE structure contains information about the Network Access Protection (NAP) variables for a remote access connection.

Syntax

typedef struct _tagRasNapState {
  DWORD          dwSize;
  DWORD          dwFlags;
  IsolationState isolationState;
  ProbationTime  probationTime;
} RASNAPSTATE, *LPRASNAPSTATE;

Members

dwSize

Specifies the size of the structure in bytes.

dwFlags

Contains information about what members of this structure are set on the return from a call to the RasGetNapStatus function.

isolationState

An IsolationState value that specifies the isolation NAP state for the RAS connection.

probationTime

Specifies the time required for the connection to come out of quarantine after which the connection will be dropped. A ProbationTime structure is identical to a FILETIME structure.

Remarks

The IsolationState enumerated type and the ProbationTime structure are declared in naptypes.h.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header ras.h