Compartir a través de


2.2.1.2.82 MPRI_INTERFACE_1

The MPRI_INTERFACE_1 structure<61> is used to contain configuration and status information for a specific router interface. This structure is used in the following methods:

wszInterfaceName: The same as wszInterfaceName in MPRI_INTERFACE_0 (section 2.2.1.2.81) structure.

dwInterface: The same as dwInterface in MPRI_INTERFACE_0.

fEnabled: The same as fEnabled in MPRI_INTERFACE_0.

dwIfType: The same as dwIfType in MPRI_INTERFACE_0.

dwConnectionState: The same as dwConnectionState in MPRI_INTERFACE_0.

fUnReachabilityReasons: The same as fUnReachabilityReasons in MPRI_INTERFACE_0.

dwLastError: The same as dwLastError in MPRI_INTERFACE_0.

lpwsDialoutHoursRestriction: Pointer to a Unicode string that specifies the times during which dial-out is restricted. The format for this string is as follows.

<day><space><time range><space><time range>. . .<NULL><day>. . .<NULL><NULL>

Where <day> is a numeral that corresponds to a day of the week.

Value

Meaning

0

Sunday

1

Monday

2

Tuesday

3

Wednesday

4

Thursday

5

Friday

6

Saturday

<Time range> is of the form HH:MM-HH:MM, using 24-hour notation.

<space> denotes a space character.

<NULL> denotes a null character. The restriction string is terminated by two consecutive null characters as in the following example:

2 09:00-12:00 13:00-17:30<NULL>4 09:00-12:00 13:00-17:30<NULL><NULL>

The preceding string restricts dial-out to Tuesdays and Thursdays from 9:00 A.M. to 12:00 P.M. and from 1:00 P.M. to 5:30 P.M.