From: Neo on 24 Aug 2007 10:42 Hi, In the Due course of Developement of Miniport IrDA Driver the Registration and General Attributues used are given as follows, can anyone comment on this, if it is correct or not ??? RegistrationAttributes.AttributeFlags = NDIS_MINIPORT_ATTRIBUTES_NDIS_WDM; RegistrationAttributes.InterfaceType = NdisInterfaceInternal; GeneralAttributes.MediaType = NdisMediumIrda; GeneralAttributes.MediaConnectState = MediaConnectStateConnected; GeneralAttributes.MediaDuplexState = MediaDuplexStateHalf; GeneralAttributes.MacOptions = NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA | NDIS_MAC_OPTION_TRANSFERS_NOT_PEND | NDIS_MAC_OPTION_NO_LOOPBACK; GeneralAttributes.PhysicalMediumType = NdisPhysicalMediumIrda; GeneralAttributes.RecvScaleCapabilities = NULL; GeneralAttributes.AccessType = NET_IF_ACCESS_POINT_TO_POINT; GeneralAttributes.DirectionType = NET_IF_DIRECTION_SENDRECEIVE; GeneralAttributes.ConnectionType = NET_IF_CONNECTION_DEDICATED; GeneralAttributes.IfType = IF_TYPE_OTHER; GeneralAttributes.IfConnectorPresent = TRUE; GeneralAttributes.SupportedStatistics = NDIS_STATISTICS_XMIT_OK_SUPPORTED | NDIS_STATISTICS_RCV_OK_SUPPORTED | NDIS_STATISTICS_XMIT_ERROR_SUPPORTED | NDIS_STATISTICS_RCV_ERROR_SUPPORTED | NDIS_STATISTICS_RCV_CRC_ERROR_SUPPORTED | NDIS_STATISTICS_RCV_NO_BUFFER_SUPPORTED | NDIS_STATISTICS_TRANSMIT_QUEUE_LENGTH_SUPPORTED; Thanks and Regards, Neo
|
Pages: 1 Prev: problem in porting 32 bit application in x64... Next: another bda question |