次の方法で共有


REMOTE_NDIS_KEEPALIVE_MSG (Windows CE 5.0)

Send Feedback

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.

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

Parameters

  • NdisMessageType
    Specifies the RNDIS message type, which is set to REMOTE_NDIS_INITIALIZE_MSG.
  • 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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Rndis.h.

See Also

REMOTE_NDIS_KEEPALIVE_CMPLT | REMOTE_NDIS_INITIALIZE_MSG | RNDIS_REQUEST_ID

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.