Compartir a través de


REMOTE_NDIS_KEEPALIVE_CMPLT (Compact 2013)

3/26/2014

This message is sent by a Remote NDIS device in response to a REMOTE_NDIS_KEEPALIVE_MSG message from the host. If the returned Status is not RNDIS_STATUS_SUCCESS, the host will send REMOTE_NDIS_SET_MSG or REMOTE_NDIS_RESET_MSG to reset the device.

Syntax

REMOTE_NDIS_KEEPALIVE_CMPLT
(UINT32) NdisMessageType;
(UINT32) MessageLength;
(RNDIS_REQUEST_ID) RequestId;
(RNDIS_STATUS) Status;

Parameters

  • NdisMessageType
    Set to 0x80000008. Specifies the RNDIS message type, which is set to REMOTE_NDIS_KEEPALIVE_CMPLT.
  • 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.
  • Status
    Specifies the status of the device. If the returned Status is not RNDIS_STATUS_SUCCESS, the host will send an REMOTE_NDIS_RESET_MSG message to reset the device.

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.

If the device implements the option of sending REMOTE_NDIS_KEEPALIVE_MSG, the host will respond with REMOTE_NDIS_KEEPALIVE_CMPLT through the control channel.

Requirements

Header

rndis.h

See Also

Reference

Remote NDIS Messages
REMOTE_NDIS_KEEPALIVE_MSG
REMOTE_NDIS_RESET_MSG
REMOTE_NDIS_SET_MSG
RNDIS_REQUEST_ID
RNDIS_STATUS