Поделиться через


REMOTE_NDIS_INITIALIZE_MSG

This message is sent by the host to a Remote NDIS device to initialize the network connection. It is sent through the control channel and only when the device is not in a state initialized by Remote NDIS.

Offset Size Field Description

0

4

MessageType

Specifies the type of message being sent. Set to 0x00000002.

4

4

MessageLength

Specifies in bytes the total length of this message, from the beginning of the message.

8

4

RequestId

Specifies the Remote NDIS message ID value. This value is used to match messages sent by the host with device responses.

12

4

MajorVersion

Specifies the Remote NDIS protocol version implemented by the host. The current specification uses RNDIS_MAJOR_VERSION = 1.

16

4

MinorVersion

Specifies the Remote NDIS protocol version implemented by the host. The current specification uses RNDIS_MINOR_VERSION = 0.

20

4

MaxTransferSize

Specifies the maximum size in bytes of any single bus data transfer that the host expects to receive from the device. Typically, each bus data transfer accommodates a single Remote NDIS message. However, the device may bundle several Remote NDIS messages that contain data packets into a single transfer (see REMOTE_NDIS_PACKET_MSG).

 

Requirements

Version

Available in Microsoft Windows XP and later versions of the Windows operating systems. Also available in Windows 2000 as redistributable binaries.

Header

Rndis.h (include Rndis.h)

 

 

Send comments about this topic to Microsoft