Lines Matching refs:service
70 …, BSTR serviceName, BSTR regType, BSTR domain, IResolveListener* listener, IDNSSDService** service) in Resolve() argument
82 *service = NULL; in Resolve()
115 *service = object; in Resolve()
128 …umerateDomains(DNSSDFlags flags, ULONG ifIndex, IDomainListener *listener, IDNSSDService **service) in EnumerateDomains() argument
136 *service = NULL; in EnumerateDomains()
161 *service = object; in EnumerateDomains()
174 …, BSTR host, USHORT port, ITXTRecord *record, IRegisterListener *listener, IDNSSDService **service) in Register() argument
189 *service = NULL; in Register()
234 *service = object; in Register()
247 … DNSSDRRType rrtype, DNSSDRRClass rrclass, IQueryRecordListener *listener, IDNSSDService **service) in QueryRecord() argument
257 *service = NULL; in QueryRecord()
286 *service = object; in QueryRecord()
299 …ddressFamily addressFamily, BSTR hostName, IGetAddrInfoListener *listener, IDNSSDService **service) in GetAddrInfo() argument
309 *service = NULL; in GetAddrInfo()
338 *service = object; in GetAddrInfo()
351 STDMETHODIMP CDNSSD::CreateConnection(IDNSSDService **service) in CreateConnection() argument
359 *service = NULL; in CreateConnection()
380 *service = object; in CreateConnection()
393 …alPort, USHORT externalPort, ULONG ttl, INATPortMappingListener *listener, IDNSSDService **service) in NATPortMappingCreate() argument
402 *service = NULL; in NATPortMappingCreate()
429 *service = object; in NATPortMappingCreate()
494 CComObject<CDNSSDService> * service; in DomainEnumReply() local
497 service = ( CComObject< CDNSSDService>* ) context; in DomainEnumReply()
498 require_action( service, exit, err = kDNSServiceErr_Unknown ); in DomainEnumReply()
500 if ( !service->Stopped() ) in DomainEnumReply()
504 listener = ( IDomainListener* ) service->GetListener(); in DomainEnumReply()
515 listener->DomainFound( service, ( DNSSDFlags ) flags, ifIndex, replyDomain ); in DomainEnumReply()
519 listener->DomainLost( service, ( DNSSDFlags ) flags, ifIndex, replyDomain ); in DomainEnumReply()
524 listener->EnumDomainsFailed( service, ( DNSSDError ) errorCode ); in DomainEnumReply()
547 CComObject<CDNSSDService> * service; in BrowseReply() local
550 service = ( CComObject< CDNSSDService>* ) context; in BrowseReply()
551 require_action( service, exit, err = kDNSServiceErr_Unknown ); in BrowseReply()
553 if ( !service->Stopped() ) in BrowseReply()
557 listener = ( IBrowseListener* ) service->GetListener(); in BrowseReply()
572 …listener->ServiceFound( service, ( DNSSDFlags ) flags, ifIndex, serviceName, regType, replyDomain … in BrowseReply()
576 …listener->ServiceLost( service, ( DNSSDFlags ) flags, ifIndex, serviceName, regType, replyDomain ); in BrowseReply()
581 listener->BrowseFailed( service, ( DNSSDError ) errorCode ); in BrowseReply()
606 CComObject<CDNSSDService> * service; in ResolveReply() local
609 service = ( CComObject< CDNSSDService>* ) context; in ResolveReply()
610 require_action( service, exit, err = kDNSServiceErr_Unknown ); in ResolveReply()
612 if ( !service->Stopped() ) in ResolveReply()
616 listener = ( IResolveListener* ) service->GetListener(); in ResolveReply()
654 …listener->ServiceResolved( service, ( DNSSDFlags ) flags, ifIndex, fullName, hostName, port, recor… in ResolveReply()
658 listener->ResolveFailed( service, ( DNSSDError ) errorCode ); in ResolveReply()
680 CComObject<CDNSSDService> * service; in RegisterReply() local
683 service = ( CComObject< CDNSSDService>* ) context; in RegisterReply()
684 require_action( service, exit, err = kDNSServiceErr_Unknown ); in RegisterReply()
686 if ( !service->Stopped() ) in RegisterReply()
690 listener = ( IRegisterListener* ) service->GetListener(); in RegisterReply()
707 listener->ServiceRegistered( service, ( DNSSDFlags ) flags, serviceName, regType, domain ); in RegisterReply()
711 listener->ServiceRegisterFailed( service, ( DNSSDError ) errorCode ); in RegisterReply()
737 CComObject<CDNSSDService> * service; in QueryRecordReply() local
740 service = ( CComObject< CDNSSDService>* ) context; in QueryRecordReply()
741 require_action( service, exit, err = kDNSServiceErr_Unknown ); in QueryRecordReply()
743 if ( !service->Stopped() ) in QueryRecordReply()
747 listener = ( IQueryRecordListener* ) service->GetListener(); in QueryRecordReply()
761 …listener->QueryRecordAnswered( service, ( DNSSDFlags ) flags, ifIndex, fullName, ( DNSSDRRType ) r… in QueryRecordReply()
765 listener->QueryRecordFailed( service, ( DNSSDError ) errorCode ); in QueryRecordReply()
788 CComObject<CDNSSDService> * service; in GetAddrInfoReply() local
791 service = ( CComObject< CDNSSDService>* ) context; in GetAddrInfoReply()
792 require_action( service, exit, err = kDNSServiceErr_Unknown ); in GetAddrInfoReply()
794 if ( !service->Stopped() ) in GetAddrInfoReply()
798 listener = ( IGetAddrInfoListener* ) service->GetListener(); in GetAddrInfoReply()
836 …listener->GetAddrInfoReply( service, ( DNSSDFlags ) flags, ifIndex, hostName, addressFamily, addre… in GetAddrInfoReply()
840 listener->GetAddrInfoFailed( service, ( DNSSDError ) errorCode ); in GetAddrInfoReply()
865 CComObject<CDNSSDService> * service; in NATPortMappingReply() local
868 service = ( CComObject< CDNSSDService>* ) context; in NATPortMappingReply()
869 require_action( service, exit, err = kDNSServiceErr_Unknown ); in NATPortMappingReply()
871 if ( !service->Stopped() ) in NATPortMappingReply()
875 listener = ( INATPortMappingListener* ) service->GetListener(); in NATPortMappingReply()
880 …listener->MappingCreated( service, ( DNSSDFlags ) flags, ifIndex, externalAddress, ( DNSSDAddressF… in NATPortMappingReply()
884 listener->MappingFailed( service, ( DNSSDError ) errorCode ); in NATPortMappingReply()