Bewerken

Delen via


NDIS_WWAN_PIN_INFO structure (ndiswwan.h)

The NDIS_WWAN_PIN_INFO structure represents the type and PIN-entry state of Personal Identification Number (PIN) information required by the MB device.

Syntax

typedef struct _NDIS_WWAN_PIN_INFO {
  NDIS_OBJECT_HEADER Header;
  WWAN_STATUS        uStatus;
  WWAN_PIN_INFO      PinInfo;
} NDIS_WWAN_PIN_INFO, *PNDIS_WWAN_PIN_INFO;

Members

Header

The header with type, revision, and size information about the NDIS_WWAN_PIN_INFO structure. The MB Service sets the header with the values that are shown in the following table when it sends the data structure to the miniport driver for set operations. Miniport drivers must set the header with the same values when they send the data structure to the MB service.

Header submember Value
Type NDIS_OBJECT_TYPE_DEFAULT
Revision NDIS_WWAN_PIN_INFO_REVISION_1
Size sizeof(NDIS_WWAN_PIN_INFO)
 

For more information about these members, see NDIS_OBJECT_HEADER.

uStatus

The status of the PIN info operation. The following table shows the possible values for this member.

Value Meaning
WWAN_STATUS_SUCCESS Pin info operation succeeded.
WWAN_STATUS_SIM_NOT_INSERTED Pin info operation failed because the SIM card is not inserted.
WWAN_STATUS_FAILURE Pin info operation failed.
WWAN_STATUS_NOT_INITIALIZED The operation failed because the device is in the process of initializing. Retry the operation after the ready-state of the device changes to WwanReadyStateInitialized.
WWAN_STATUS_BAD_SIM The operation failed because a bad SIM card was detected.
WWAN_STATUS_PIN_DISABLED The operation failed because the PIN is disabled.
WWAN_STATUS_PIN_REQUIRED The operation failed because a PIN must be entered to proceed.
WWAN_STATUS_NO_DEVICE_SUPPORT The operation failed because a set on a corresponding PIN type is not supported by the device.

PinInfo

A formatted WWAN_PIN_INFO object that represents the type and PIN-entry state of Personal Identification Number (PIN) information required by the device.

Requirements

Requirement Value
Minimum supported client Available in Windows 7 and later versions of Windows.
Header ndiswwan.h (include Ndiswwan.h)

See also

NDIS_OBJECT_HEADER

WWAN_PIN_INFO