MBN_PROVIDER_STATE enumeration

The MBN_PROVIDER_STATE enumerated type specifies the various states with which a provider entry can be tagged. These values are intended to be used together in a bitwise OR combination.

Syntax


typedef enum MBN_PROVIDER_STATE { 
  MBN_PROVIDER_STATE_NONE                    = 0x00000000,
  MBN_PROVIDER_STATE_HOME                    = 0x00000001,
  MBN_PROVIDER_STATE_FORBIDDEN               = 0x00000002,
  MBN_PROVIDER_STATE_PREFERRED               = 0x00000004,
  MBN_PROVIDER_STATE_VISIBLE                 = 0x00000008,
  MBN_PROVIDER_STATE_REGISTERED              = 0x0000010,
  MBN_PROVIDER_STATE_PREFERRED_MULTICARRIER  = 0x0000020
} MBN_PROVIDER_STATE;

Constants

MBN_PROVIDER_STATE_NONE

Unknown provider state.

MBN_PROVIDER_STATE_HOME

The provider is a home operator.

MBN_PROVIDER_STATE_FORBIDDEN

The provider is on the forbidden list.

MBN_PROVIDER_STATE_PREFERRED

The provider is on the preferred list.

MBN_PROVIDER_STATE_VISIBLE

The provider is visible.

MBN_PROVIDER_STATE_REGISTERED

Windows 8 or later: The provider is currently registered by the device.

MBN_PROVIDER_STATE_PREFERRED_MULTICARRIER

Windows 8 or later: The provider is currently on the preferred multi-carrier list.

Remarks

The following table provides the valid combinations of values for different operations.

OperationMBN_PROVIDER_STATE
Query Home ProviderMBN_PROVIDER_STATE_HOME
Query Preferred ProvidersMBN_PROVIDER_STATE_FORBIDDEN
MBN_PROVIDER_STATE_PREFERRED
Query Visible ProvidersMBN_PROVIDER_STATE_REGISTERED
MBN_PROVIDER_STATE_HOME
MBN_PROVIDER_STATE_PREFERRED
MBN_PROVIDER_STATE_FORBIDDEN

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

None supported

IDL

Mbnapi.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft