RAS_SECURITY_INFO  1E_MRBO 

[New - Windows NT]

The RAS_SECURITY_INFO structure is used with the RasSecurityDialogGetInfo1MX_TAY function to return information about the RAS port associated with a RAS security DLL authentication transaction.

typedef struct _RAS_SECURITY_INFO { 

    DWORD LastError;

    DWORD BytesReceived;

    CHAR DeviceName[RASSAPI_MAX_DEVICE_NAME+1];

}RAS_SECURITY_INFO,*PRAS_SECURITY_INFO;

 

Members

LastError

Specifies an error code that indicates the state of the last RasSecurityDialogReceive15UDWGA call for the port. If the receive operation failed, LastError is one of the error codes defined in RASERROR.H or WINERROR.H. Otherwise, LastError is one of the following values.

Value

Meaning

SUCCESS

The receive operation has been successfully completed. The BytesReceived member indicates the number of bytes received.

PENDING

The receive operation is pending completion.

 

BytesReceived

Specifies the number of bytes received in the most recent RasSecurityDialogReceive15UDWGA operation. This member is valid only if the value of the LastError member is SUCCESS.

DeviceName

Specifies a null-terminated string that contains the user-friendly display name of the device on the port, such as Hayes SmartModem 9600.

 

See Also

RasSecurityDialogGetInfo, RasSecurityDialogReceive