|
|
|
@ -198,7 +198,7 @@ uint8_t RNDIS_SetRNDISProperty(const uint32_t Oid,
|
|
|
|
|
SetMessageData.SetMessage.InformationBufferOffset = (sizeof(RNDIS_Set_Message_t) - sizeof(RNDIS_Message_Header_t));
|
|
|
|
|
SetMessageData.SetMessage.DeviceVcHandle = 0;
|
|
|
|
|
|
|
|
|
|
memcpy(&SetMessageData.ContiguousBuffer, Buffer, Length);
|
|
|
|
|
memcpy(SetMessageData.ContiguousBuffer, Buffer, Length);
|
|
|
|
|
|
|
|
|
|
if ((ErrorCode = RNDIS_SendEncapsulatedCommand(&SetMessageData,
|
|
|
|
|
SetMessageData.SetMessage.MessageLength)) != HOST_SENDCONTROL_Successful)
|
|
|
|
|