REMOTE_NDIS_QUERY_MSG

This message is sent to a Remote NDIS device from a host when it needs to query the device for its characteristics, statistics information, or status. The parameter or statistics counter being queried for is identified by means of an NDIS Object Identifier (OID). The host may send REMOTE_NDIS_QUERY_MSG to the device through the control channel at any time that the device is in either a state initialized by Remote NDIS. The Remote NDIS device will respond to this message by sending a REMOTE_NDIS_QUERY_CMPLT to the host.

Offset Size Field Description

0

4

MessageType

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

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

Oid

Specifies the NDIS OID that identifies the parameter being queried.

16

4

InformationBufferLength

Specifies in bytes the length of the input data for the query. Set to zero when there is no OID input buffer.

20

4

InformationBufferOffset

Specifies the byte offset, from the beginning of the RequestId field, at which input data for the query is located. Set to zero if there is no OID input buffer.

24

4

DeviceVcHandle

Reserved for connection-oriented devices. Set to zero.

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)