Partager via


REMOTE_NDIS_KEEPALIVE_MSG (Windows Embedded CE 6.0)

1/6/2010

This message is sent by the host when there has been no other control or data traffic from the device to the host for the bus defined KeepAliveTimeoutPeriod. The host sends this message in the absence of other message traffic, to detect the state of the remote device. The remote device may use the same message in the reverse direction, but it is not required.

Syntax

REMOTE_NDIS_KEEPALIVE_MSG
(UINT32) NdisMessageType;
(UINT32) MessageLength;
(RNDIS_REQUEST_ID) RequestId;

Parameters

  • MessageLength
    Specifies the total length of this RNDIS message in bytes.
  • RequestId
    Specifies the Remote NDIS message identifier value. This value is used to match device responses to host sent messages.

Return Value

None.

Remarks

All RNDIS messages start with two UINT32 fields, NdisMessageType and MessageLength that identify the type of message being sent and its length. All messages that expect a response from a remote device and all responses to such messages from a remote device also include a third UINT32 field, RequestId, that is used to match device responses to host sent messages.

Requirements

Header rndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Remote NDIS Messages
REMOTE_NDIS_KEEPALIVE_CMPLT
REMOTE_NDIS_INITIALIZE_MSG
RNDIS_REQUEST_ID