Partager via


RNDIS Control Messages (Windows Embedded CE 6.0)

1/6/2010

RNDIS control messages are sent by the host to the RNDIS device and by the RNDIS device to the host. All RNDIS control messages indicate the type of message being sent and the total length of the message, from the beginning of the message.

An Ethernet 802.3 connectionless device must support the following RNDIS control messages.

Message identifier Value Description

REMOTE_NDIS_INITIALIZE_MSG

0x00000002

Initialize the device.

REMOTE_NDIS_INITIALIZE_CMPLT

0x80000002

Device response to initialization request.

REMOTE_NDIS_HALT_MSG

0x00000003

Halt the device. This is the only host control message that does not get a response.

REMOTE_NDIS_QUERY_MSG

0x00000004

Send a query object.

REMOTE_NDIS_QUERY_CMPLT

0x80000004

Device response to a query object request.

REMOTE_NDIS_SET_MSG

0x00000005

Send a set object request.

REMOTE_NDIS_SET_CMPLT

0x80000005

Device response to a set object request.

REMOTE_NDIS_RESET_MSG

0x00000006

Perform a soft reset on the device.

REMOTE_NDIS_RESET_CMPLT

0x80000006

Device responses to reset request.

REMOTE_NDIS_INDICATE_STATUS_MSG

0x00000007

Indicates 802.3 link-state or undefined message error.

REMOTE_NDIS_KEEPALIVE_MSG

0x00000008

During idle periods, sent every few seconds to check that the device is still responsive (may optionally also be sent by the device).

REMOTE_NDIS_KEEPALIVE_CMPLT

0x80000008

Device response to keep alive message.

See Also

Concepts

RNDIS Messaging
RNDIS Device Architecture
RNDIS Concepts