SESS_CONFIGURATION_INFO


typedef struct {
 DWORD dwSize;
 char szEntryName[RAS_MaxEntryName+1];
 SESSTYPE stSessType;
 BOOL fUserSecurity;
 char szUserName[UNLEN+1];
 char szPassword[PWLEN+1];
 char szDomainName[DNLEN+1];
} SESS_CONFIGURATION_INFO;

The structure for the session configuration parameters.

dwSize

The size in bytes of the SESS_CONFIGURATION_INFO structure.

szEntryName[RAS_MaxEntryName+1]

a null-terminated string for the session's name. This field is used by the initiator type only.

stSessType

Indicates one of the following session types.

SESSTYPE_INITIATOR

The session is started as an initiator (an RNA client.)

SESSTYPE_RESPONDER

The session is started as a responder (an RNA host.)

fUserSecurity

A flag indicating whether the session is the user-leveled security. This field is used by the responder type only.

szUserName[UNLEN+1]

a null-terminated string for the user's name. This field is used by the initiator type only.

szPassword[PWLEN+1]

a null-terminated string for the session password. This field is used by the initiator type only.

szDomainName[DNLEN+1] a null-terminated string for the user's domain. This field is used by the initiator type only.