// ndiswwan.h
typedef struct _NDIS_WWAN_DEVICE_CAPS {
NDIS_OBJECT_HEADER Header;
WWAN_STATUS uStatus;
WWAN_DEVICE_CAPS DeviceCaps;
} NDIS_WWAN_DEVICE_CAPS, *PNDIS_WWAN_DEVICE_CAPS;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_WWAN_DEVICE_CAPS structure represents the capabilities of the MB device.
HeaderThe header with type, revision, and size information about the NDIS_WWAN_DEVICE_CAPS 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 | Windows 8 miniport drivers that follow the NDIS 6.30 specification should set this to NDIS_WWAN_DEVICE_CAPS_REVISION_2. Windows 7 miniport drivers that follow the NDIS 6.20 specification should set this to NDIS_WWAN_DEVICE_CAPS_REVISION_1. |
| Size | sizeof(NDIS_WWAN_DEVICE_CAPS) |
Note You must specify NDIS_WWAN_DEVICE_CAPS_REVISION_2 in Revision to use the Windows 8 members of WWAN_DEVICE_CAPS.
For more information about these members, see NDIS_OBJECT_HEADER.
uStatusThe status of the device capabilities query. The following table shows the possible values for this member.
| Value | Meaning |
|---|---|
| WWAN_STATUS_SUCCESS | The operation succeeded. |
| WWAN_STATUS_FAILURE | The operation failed to retrieve the capabilities for the device. |
| WWAN_STATUS_NOT_INITIALIZED | The operation failed because the device is in the process of initializing. Retry the operation when the ready-state is not WwanReadyStateOff. |
DeviceCapsA formatted WWAN_DEVICE_CAPS object that represents the capabilities of the MB device.