/* Processes RNDIS set commands, setting adapter parameters to values given by the host. The requested parameter is given as an OID value. */
static bool ProcessNDISSet(uint32_t OId, void *SetData, uint16_t SetSize)
/* Processes RNDIS set commands, setting adapter parameters to values given by the host. The requested parameter is given as an OID value. */
static bool ProcessNDISSet(uint32_t OId, void *SetData, uint16_t SetSize)
{
	switch (OId)
	{
		case OID_GEN_CURRENT_PACKET_FILTER:
			CurrPacketFilter = *((uint32_t*)SetData);
			CurrRNDISState = ((CurrPacketFilter) ? RNDIS_Data_Initialized : RNDIS_Initialized);
			return true;
		case OID_802_3_MULTICAST_LIST:
			return true;
		default:
			return false;
	}
}