// ndiswwan.h
typedef struct _NDIS_WWAN_SET_RADIO_STATE {
NDIS_OBJECT_HEADER Header;
WWAN_RADIO RadioAction;
} NDIS_WWAN_SET_RADIO_STATE, *PNDIS_WWAN_SET_RADIO_STATE;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_WWAN_SET_RADIO_STATE structure represents the power action to take on the MB device's radio.
HeaderThe header with type, revision, and size information about the NDIS_WWAN_SET_RADIO_STATE 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_SET_RADIO_STATE_REVISION_1 |
| Size | sizeof(NDIS_WWAN_SET_RADIO_STATE) |
For more information about these members, see NDIS_OBJECT_HEADER.
RadioActionA value from the WWAN_RADIO enumeration that represents the power action to take on the MB device's radio. The following table shows the possible values for this member.
| Value | Meaning |
|---|---|
| WwanRadioOn | Turn on radio. |
| WwanRadioOff | Turn off radio. |
This parameter allows Windows to turn the radio power on and off. Be aware that this affects only the SwRadioState .