Export (0) Print
Expand All

MPR_INTERFACE_0 structure

The MPR_INTERFACE_0 structure contains information for a particular router interface.

Syntax


typedef struct _MPR_INTERFACE_0 {
  WCHAR                   wszInterfaceName[MAX_INTERFACE_NAME_LEN+1];
  HANDLE                  hInterface;
  BOOL                    fEnabled;
  ROUTER_INTERFACE_TYPE   dwIfType;
  ROUTER_CONNECTION_STATE dwConnectionState;
  DWORD                   fUnReachabilityReasons;
  DWORD                   dwLastError;
} MPR_INTERFACE_0, *PMPR_INTERFACE_0;

Members

wszInterfaceName

Pointer to a Unicode string that contains the name of the interface.

hInterface

Handle to the interface.

fEnabled

Specifies whether the interface is enabled. This member is TRUE if the interface is enabled, FALSE if the interface is administratively disabled.

dwIfType

Specifies the type of interface.

dwConnectionState

Specifies the current state of the interface, for example connected, disconnected, or unreachable. For a list of possible states, see ROUTER_CONNECTION_STATE.

fUnReachabilityReasons

Specifies a value that represents a reason why the interface cannot be reached. See Unreachability Reasons for a list of possible values.

dwLastError

Specifies a nonzero value if the interface fails to connect.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mprapi.h

See also

Router Management Reference
Router Management Structures
MprAdminInterfaceEnum
MprAdminInterfaceGetInfo
ROUTER_CONNECTION_STATE
ROUTER_INTERFACE_TYPE
Unreachability Reasons

 

 

Community Additions

ADD
Show:
© 2014 Microsoft