equal
deleted
inserted
replaced
691 |
691 |
692 //now retrieve the ServiceClassIDList from the first ServiceRecordHandle |
692 //now retrieve the ServiceClassIDList from the first ServiceRecordHandle |
693 RNetDatabase& netdb=aContext->iNetDatabase; |
693 RNetDatabase& netdb=aContext->iNetDatabase; |
694 |
694 |
695 TSDPAttributeKey key; |
695 TSDPAttributeKey key; |
|
696 Mem::FillZ(&key, sizeof(TSDPAttributeKey)); |
696 key.iQueryType = KSDPAttributeQuery; |
697 key.iQueryType = KSDPAttributeQuery; |
697 // suck out the first service record handle. |
698 // suck out the first service record handle. |
698 iFactory->iExtractedHandleCount = 1; |
699 iFactory->iExtractedHandleCount = 1; |
699 key.iServiceRecordHandle = BigEndian::Get32(&aContext->iSDPServRecordHandle[4]); |
700 key.iServiceRecordHandle = BigEndian::Get32(&aContext->iSDPServRecordHandle[4]); |
700 key.iMaxLength = 200; |
701 key.iMaxLength = 200; |
796 |
797 |
797 TBool getProtocolDesc = builder->InService(); |
798 TBool getProtocolDesc = builder->InService(); |
798 CleanupStack::PopAndDestroy(2); |
799 CleanupStack::PopAndDestroy(2); |
799 |
800 |
800 TSDPAttributeKey key; |
801 TSDPAttributeKey key; |
|
802 Mem::FillZ(&key, sizeof(TSDPAttributeKey)); |
801 key.iMaxLength = 200; |
803 key.iMaxLength = 200; |
802 key.iRange = EFalse; |
804 key.iRange = EFalse; |
803 key.iStateLength = 0; |
805 key.iStateLength = 0; |
804 key.iQueryType = KSDPAttributeQuery; |
806 key.iQueryType = KSDPAttributeQuery; |
805 |
807 |