Share via


REMOTE_NDIS_KEEPALIVE_CMPLT

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.

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 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.

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

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

See Also

REMOTE_NDIS_KEEPALIVE_MSG | REMOTE_NDIS_RESET_MSG | REMOTE_NDIS_SET_MSG | RNDIS_REQUEST_ID | RNDIS_STATUS

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.